Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Remove comments from fastmcp.json docs examples (#5627)

Asem ahmed727d2207fc2a
diff --git a/docs/deployment/server-configuration.mdx b/docs/deployment/server-configuration.mdx
index c67d5ef1f..dc630cd1f 100644
--- a/docs/deployment/server-configuration.mdx
+++ b/docs/deployment/server-configuration.mdx
@@ -465,19 +465,16 @@ A configuration optimized for local development:
```json
{
"$schema": "https://gofastmcp.com/public/schemas/fastmcp.json/v1.json",
- // WHERE does the server live?
"source": {
"path": "src/server.py",
"entrypoint": "app"
},
- // WHAT dependencies does it need?
"environment": {
"type": "uv",
"python": "3.12",
"dependencies": ["fastmcp[dev]"],
"editable": ["."]
},
- // HOW should it run?
"deployment": {
"transport": "http",
"host": "127.0.0.1",
@@ -498,18 +495,15 @@ A production-ready configuration with full dependency management:
```json
{
"$schema": "https://gofastmcp.com/public/schemas/fastmcp.json/v1.json",
- // WHERE does the server live?
"source": {
"path": "app/main.py",
"entrypoint": "mcp_server"
},
- // WHAT dependencies does it need?
"environment": {
"python": "3.11",
"requirements": "requirements/production.txt",
"project": "."
},
- // HOW should it run?
"deployment": {
"transport": "http",
"host": "0.0.0.0",