MCP Template
A production-ready Python template for building MCP servers with enterprise features including registry integration, configuration management, structured logging, and extensible patterns for tools, resources, and prompts.
What is MCP Template?
MCP Template is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to production-ready python template for building mcp servers with enterprise features including registry integration, configuration management, structured logging, and extensible patterns for tools, reso...
A production-ready Python template for building MCP servers with enterprise features including registry integration, configuration management, structured logging, and extensible patterns for tools, resources, and prompts.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A production-ready Python template for building MCP servers
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcp-templateConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MCP Template
This Scrapbox MCP server connects AI assistants to the Scrapbox knowledge-base platform, enabling them to read and write pages in your Scrapbox project. It supports listing pages, retrieving page content, performing full-text search, following outgoing and incoming links, creating new pages, updating existing content, inserting lines at specific positions, and optionally deleting pages. This is especially useful for teams using Scrapbox as a shared wiki who want an AI assistant to help author, search, and organize knowledge.
Prerequisites
- Bun runtime installed (https://bun.sh) for the recommended install method
- A Scrapbox account and an existing project at scrapbox.io
- Your Scrapbox project name (the slug in the URL: scrapbox.io/<project-name>)
- Your connect.sid session cookie from scrapbox.io (for authentication)
- An MCP client such as Claude Desktop or Cursor
Obtain your Scrapbox session cookie
Log into scrapbox.io in your browser, open DevTools (F12), go to Application > Cookies, and copy the value of the 'connect.sid' cookie. This is required for the MCP server to authenticate API requests on your behalf.
Identify your Scrapbox project name
Your project name is the slug that appears in your Scrapbox URLs: https://scrapbox.io/<project-name>/<page-title>. Note this value — you will set it as SCRAPBOX_PROJECT.
Add the server to your MCP client configuration
Edit your MCP client's config file (e.g., claude_desktop_config.json) to add the scrapbox-mcp server, providing your project name and cookie.
{
"mcpServers": {
"scrapbox-mcp": {
"command": "bunx",
"args": ["@r_masseater/scrapbox-mcp@latest"],
"env": {
"SCRAPBOX_PROJECT": "your-project-name",
"SCRAPBOX_COOKIE": "your-connect.sid-value",
"SCRAPBOX_PRESET": "full"
}
}
}
}Choose a tool preset
Set SCRAPBOX_PRESET to control which tools are available: 'minimal' (list + get only), 'readonly' (list, get, search, links), or 'full' (all tools including write operations). To enable page deletion, also set SCRAPBOX_ENABLE_DELETE=true.
Restart your MCP client and verify
Save the configuration and restart your MCP client. You should now be able to list pages, search for content, and create or update pages in your Scrapbox project through natural language prompts.
MCP Template Examples
Client configuration
Full Claude Desktop configuration for the Scrapbox MCP server with full tool access enabled.
{
"mcpServers": {
"scrapbox-mcp": {
"command": "bunx",
"args": ["@r_masseater/scrapbox-mcp@latest"],
"env": {
"SCRAPBOX_PROJECT": "my-team-wiki",
"SCRAPBOX_COOKIE": "s%3Axxxxxxxxxxxxxxxx...",
"SCRAPBOX_PRESET": "full",
"SCRAPBOX_ENABLE_DELETE": "false"
}
}
}
}Prompts to try
Example prompts for searching, reading, and writing in your Scrapbox wiki.
- "Search my Scrapbox project for pages about 'API design' and summarize the key points."
- "Show me the content of the Scrapbox page titled 'Meeting Notes 2024-01-15'."
- "Create a new Scrapbox page called 'GraphQL Best Practices' with sections for schema design, query optimization, and security."
- "Update the 'Team Glossary' page in Scrapbox by adding a definition for 'MCP' at the end."Troubleshooting MCP Template
Authentication fails with 401 errors from the Scrapbox API
Your connect.sid cookie may have expired. Log back into scrapbox.io, copy the fresh cookie value from DevTools, and update the SCRAPBOX_COOKIE environment variable in your MCP config.
Pages are not found despite existing in the project
Verify that SCRAPBOX_PROJECT is set to exactly the project slug as it appears in the URL (case-sensitive). Also check that the cookie belongs to an account that has read access to that project.
Write operations (create/update) are not available
Ensure SCRAPBOX_PRESET is set to 'full' (not 'minimal' or 'readonly'). If using SCRAPBOX_TOOLS for custom selection, confirm the write tool names are included in the comma-separated list.
Frequently Asked Questions about MCP Template
What is MCP Template?
MCP Template is a Model Context Protocol (MCP) server that production-ready python template for building mcp servers with enterprise features including registry integration, configuration management, structured logging, and extensible patterns for tools, resources, and prompts. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MCP Template?
Follow the installation instructions on the MCP Template GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with MCP Template?
MCP Template works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MCP Template free to use?
Yes, MCP Template is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
MCP Template Alternatives — Similar Developer Tools Servers
Looking for alternatives to MCP Template? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MCP Template in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MCP Template?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.