← All files

MCP SERVER CONFIG TEMPLATE

Client configuration for Model Context Protocol servers: stdio, HTTP, mixed, and security notes.

[ DOWNLOAD ][ MARKDOWN ][ SOURCE ]

A starting point for connecting tools and data sources to an AI client over MCP. Includes local stdio servers, remote HTTP servers, and the security rules that matter when an agent can execute tools.

USE

  • Replace every placeholder and use environment variables for tokens.
  • Grant the minimum filesystem scope; prefer read-only servers.
  • Review third-party servers before running them.

NOTES

  • MCP server configuration is code execution; treat it like installing software.
  • The exact schema varies slightly by client.

SOURCE

https://modelcontextprotocol.io/

FULL TEXT

[ DOWNLOAD ]
MCP SERVER CONFIG — TEMPLATE
============================
Version 1.0 — 2026-10-17

TEMPLATE ONLY. Model Context Protocol (MCP) client configuration for
connecting tools and data sources to an AI client. The exact schema varies
by client; these examples follow the common `mcpServers` shape.

Replace every [PLACEHOLDER]. Never commit real tokens; use environment
variables or a secret manager.

---
LOCAL (STDIO) SERVER
--------------------
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/workspace"],
      "env": {}
    },
    "git": {
      "command": "uvx",
      "args": ["mcp-server-git", "--repository", "/path/to/repo"],
      "env": {
        "GIT_AUTHOR_NAME": "[NAME]"
      }
    }
  }
}

REMOTE (HTTP) SERVER
--------------------
{
  "mcpServers": {
    "remote-tools": {
      "type": "http",
      "url": "https://[HOST]/mcp",
      "headers": {
        "Authorization": "Bearer ${MCP_TOKEN}"
      }
    }
  }
}

MIXED
-----
{
  "mcpServers": {
    "original": {
      "type": "http",
      "url": "https://original.wales/[MCP ENDPOINT]",
      "headers": {}
    },
    "local-notes": {
      "command": "[COMMAND]",
      "args": ["[ARG]"],
      "env": {}
    }
  }
}

SECURITY NOTES
--------------
- Grant the minimum filesystem scope; never mount `/` or a home directory.
- Prefer read-only servers unless writes are required.
- Use environment variables for tokens; do not inline secrets.
- Review third-party servers before running them; they execute local code.
- Log tool calls; agents can be prompt-injected by untrusted content.
- An MCP server is code execution. Treat it like installing software.

SOURCES
-------
MCP specification: https://modelcontextprotocol.io/
MCP servers (official examples): https://github.com/modelcontextprotocol/servers

VERIFY SHA-256

Download the file, then choose it here. The checksum is compared locally in your browser.

Expected 70d2f023a6d725a6b18ce540c8a30f489c9db2026f8fed1fe91cc48bac28db21

CITE

MCP SERVER CONFIG TEMPLATE (v1.0, 2026-10-17). Original. https://original.wales/files/mcp-config/ SHA-256: 70d2f023a6d725a6b18ce540c8a30f489c9db2026f8fed1fe91cc48bac28db21. Source: https://modelcontextprotocol.io/.

← All files