Skip to content

Commit 6085049

Browse files
committed
rename "mcp-server" to "mcp-service" where applicable
1 parent 936d987 commit 6085049

File tree

12 files changed

+8
-9
lines changed

12 files changed

+8
-9
lines changed

samples/mcp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This example uses Docker's [`mcp/time`](https://hub.docker.com/r/mcp/time) image
88

99
### How It Works
1010

11-
The [MCP client](https://modelcontextprotocol.io/quickstart/client) is written in Python and ran in a `venv` virtual environment. The MCP server is provided by the Docker `mcp/time` image. The MCP server communicates with the MCP client in a Quart app (i.e. Asynchronous Server Gateway Interface (ASGI) version of Flask) through the `stdio` transport method, as seen in `/mcp-server/main.py`. For more on MCP transport methods, see [here](https://modelcontextprotocol.io/docs/concepts/transports).
11+
The [MCP client](https://modelcontextprotocol.io/quickstart/client) is written in Python and ran in a `venv` virtual environment. The MCP server is provided by the Docker `mcp/time` image. The MCP server communicates with the MCP client in a Quart app (i.e. Asynchronous Server Gateway Interface (ASGI) version of Flask) through the `stdio` transport method, as seen in `/mcp-service/main.py`. For more on MCP transport methods, see [here](https://modelcontextprotocol.io/docs/concepts/transports).
1212

1313
The UI (User Interface) and web server are built in Next.js (see `/ui/src/app`). The web server includes a forwarding action to connect to the MCP client.
1414

samples/mcp/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ services:
1414
reservations:
1515
memory: 256M
1616
environment:
17-
- MCP_SERVER_URL=http://mcp-server:8000
17+
- MCP_SERVICE_URL=http://mcp-service:8000
1818
healthcheck:
1919
test: ["CMD", "curl", "-f", "http://localhost:3000/"]
2020

21-
mcp-server:
21+
mcp-service:
2222
build:
23-
context: ./mcp-server
23+
context: ./mcp-service
2424
dockerfile: Dockerfile
2525
ports:
2626
- target: 8000
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
venv
21
.env
2+
venv
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#!/bin/bash
22

3-
echo "Starting MCP Server"
3+
echo "Starting MCP Service"
44

55
# activate the venv
66
source /wrapper/venv/bin/activate
77

88
# run python main.py using the venv
99
python3 main.py
10-

0 commit comments

Comments
 (0)