Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions mcp_cloud/http_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1064,16 +1064,17 @@ def _llms_txt_path() -> str:
@app.get("/.well-known/mcp/server-card.json")
def mcp_server_card() -> dict[str, Any]:
"""Serve MCP Server Card for discovery (SEP-1649).
https://github.com/modelcontextprotocol/modelcontextprotocol/tree/main/schema/2025-06-18

This allows registries like Smithery to discover the server's capabilities
without performing a full MCP handshake.
"""
return {
"$schema": "https://static.modelcontextprotocol.io/schemas/mcp-server-card/v1.json",
"version": "1.0",
"protocolVersion": "2025-06-18",
"serverInfo": {
"name": "planexe-mcp-server",
"title": "PlanExe AI Project Planning",
"title": "PlanExe - AI Project Planning",
"version": "1.0.0",
},
"description": (
Expand All @@ -1086,14 +1087,14 @@ def mcp_server_card() -> dict[str, Any]:
"documentationUrl": "https://docs.planexe.org/",
"transport": {
"type": "streamable-http",
"endpoint": "/mcp",
"endpoint": "/mcp/",
},
"capabilities": {
"tools": {},
},
"authentication": {
"required": AUTH_REQUIRED,
"schemes": ["bearer"],
"schemes": ["api-key"],
},
"tools": ["dynamic"],
"prompts": ["dynamic"],
Expand Down