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: 6 additions & 3 deletions docs/project-scoped-mcp-servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,20 @@ committed file serves both tools.

## The `.mcp.json` format

```jsonc
The `filesystem` example uses stdio; its `type` field may be omitted.
For `internal-api`, `sse` and `streamable-http` are aliases for `http`.

```json
{
"mcpServers": {
"filesystem": { // stdio: "type" may be omitted
"filesystem": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."],
"env": { "NODE_ENV": "production" }
},
"internal-api": {
"type": "http", // "sse" / "streamable-http" alias http
"type": "http",
"url": "https://api.example.com/mcp",
"headers": { "Authorization": "Bearer ${API_TOKEN}" }
}
Expand Down