You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _drafts/2025-12-03-rmv_mcp_server.markdown
+30-1Lines changed: 30 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,19 +6,48 @@ categories: [AI, KI]
6
6
tags: [mcp, stdio, uv, python]
7
7
---
8
8
9
+
## TL;DR
10
+
MCP servers connect ChatBots and AI agents to the real world:
11
+
12
+
They open up the possibility to ask natural language questions on custom data.
13
+
14
+
## How it works
15
+
I'll show you how to connect claude desktop to an MCP server.
16
+
17
+
### Different approaches
18
+
19
+
There're three ways to integrate MCP servers:
20
+
- STDOIO
21
+
- HTTP
22
+
- SSE (legacy)
23
+
24
+
#### STDIO
25
+
Used when MCP server and chatbot / AI agent run on the same machine
26
+
27
+
#### HTTP
28
+
In case both components run on different hosts, for redundancy or scalability.
29
+
30
+
#### SSE (legacy)
31
+
Server Sent Events is what was used in the beginning. It's still supported
32
+
33
+
34
+
## Show me the code
35
+
9
36
[I built an example showing the possibilities with public transport data in Frankfurt, Germany](https://github.com/CWACoderWithAttitude/rmv-mcp-server).
10
37
38
+
11
39
You can use "normal" queries like :
12
40
```
13
41
I want to go from Königsteiner Strasse in Höchst to Landgasthof Alt Bischofsheim in Maintal.
14
42
```
15
43
16
44
Using the chat bots
17
-
-`LLM` (the model - thats what the model "M" in MCP stands for) the bot/agent understands the
45
+
-`LLM` (the model - that's what the model "M" in MCP stands for) the bot/agent understands the
18
46
-`question` (that would be the context "C" in MCP): the query is split into main concepts and then
19
47
- uses `external` resources - public RMV in this case - to answer the question.
20
48
The standardized communication makes up for the protocol "P" in MCP.
21
49
50
+
The above question leads to this answer:
22
51
```
23
52
Ich helfe dir gerne bei der Routenplanung mit dem RMV! Lass mich zunächst die beiden Stationen suchen.
0 commit comments