A collection of Model Context Protocol (MCP) connectors for Claude Desktop, providing various tools and integrations to extend Claude's capabilities.
Model Context Protocol (MCP) is an open standard that enables AI assistants like Claude to securely connect to various data sources and tools. MCP connectors act as bridges between Claude and external systems, allowing Claude to interact with files, databases, APIs, and more.
Located in connectors/filesystem/, this connector provides basic file system operations:
- list_directory: Lists files and subdirectories in a directory
- read_files: Reads up to 8KB from a file
- search_files: Recursively searches for files by name containing a keyword
Follow these steps to create a new MCP connector:
mkdir connectors/your-connector-name
cd connectors/your-connector-nameCreate a server.py file with the following structure:
#!/usr/bin/env python
import sys
from mcp.server.fastmcp import FastMCP
# Helper for Claude Desktop logs
def log(msg: str):
print(f"[YourConnectorName] {msg}", file=sys.stderr)
# Initialize the MCP server
mcp = FastMCP("your-connector-name", version="1.0.0")
# Define your tools
@mcp.tool(name="your_tool_name", description="Description of what your tool does")
async def your_tool_function(param1: str, param2: int = 0) -> dict:
log(f"your_tool_function({param1}, {param2})")
# Your tool logic here
return {"result": "success", "data": "your response"}
# Entrypoint
if __name__ == "__main__":
try:
mcp.run()
except KeyboardInterrupt:
log("Server shutting down.")Make sure you have the required packages:
pip install mcpTest your connector using the MCP development tools:
mcp dev connectors/your-connector-name/server.pyThis will start the MCP Inspector where you can test your tools interactively.
To use your connector with Claude Desktop, add it to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
You can run
mcp install connectors/your-connector-name/server.py{
"mcpServers": {
"your-connector-name": {
"command": "python",
"args": ["/path/to/your/connectors/your-connector-name/server.py"]
}
}
}- Use descriptive tool names and descriptions
- Include proper error handling in your tools
- Add logging for debugging purposes
- Follow the existing code style and patterns
- Test thoroughly using
mcp devbefore deploying
- Python 3.7+
- MCP Python SDK (
pip install mcp) - uv (
brew install uv)
Use the MCP development tools to test connectors:
mcp dev path/to/your/server.py- Fork the repository
- Create a new connector following the steps above
- Test your connector thoroughly
- Submit a pull request with a clear description
This project is open source. Please check individual connector directories for specific licensing information.