Are you the author? Sign in to claim
Personal MCP server for spec3 racing!
A Model Context Protocol (MCP) server built with FastMCP for local development and testing with Claude Desktop on WSL.
This MCP server provides a set of tools and utilities that can be used by Claude Desktop through the MCP protocol. It's designed to run locally on your WSL machine and connect to Claude Desktop via stdio.
pyproject.toml and follows Python packaging best practicesNavigate to the project directory:
cd /home/dhevb/workspaces/spec3-mcp-server
Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate
Install the package in development mode:
pip install -e .
This will install the package and all its dependencies, including FastMCP.
Verify the installation:
spec3-mcp-server --help
Locate your Claude Desktop config file:
%APPDATA%\Claude\claude_desktop_config.jsonC:\Users\YourUsername\AppData\Roaming\Claude\claude_desktop_config.jsonEdit the configuration file and add the following:
{
"mcpServers": {
"spec3-mcp-server": {
"command": "wsl",
"args": [
"-e",
"/home/dhevb/workspaces/spec3-mcp-server/venv/bin/python",
"/home/dhevb/workspaces/spec3-mcp-server/src/spec3_mcp_server/main.py"
],
"env": {}
}
}
}
Note: The wsl command allows Claude Desktop on Windows to execute Python in your WSL environment.
Restart Claude Desktop to load the new configuration
Verify the connection:
If you prefer to use the installed spec3-mcp-server command:
{
"mcpServers": {
"spec3-mcp-server": {
"command": "wsl",
"args": [
"-e",
"/home/dhevb/workspaces/spec3-mcp-server/venv/bin/spec3-mcp-server"
]
}
}
}
You can test the server locally to ensure it's working:
# Activate your virtual environment
source venv/bin/activate
# Run the server directly
python src/spec3_mcp_server/main.py
The server will start and wait for MCP messages on stdin. You can verify it's running if you see the startup logs.
Once connected to Claude Desktop, you can test the tools by asking Claude to use them:
spec3-mcp-server/
├── src/
│ └── spec3_mcp_server/
│ ├── __init__.py # Package initialization
│ ├── main.py # Main entry point
│ ├── server.py # MCP server implementation
│ └── http_server.py # HTTP server (for network access)
├── tests/ # Test files (to be added)
├── pyproject.toml # Project configuration
├── README.md # This file
├── claude_desktop_config.json # Example config for Claude Desktop
└── .gitignore # Git ignore rules
To add new tools to the MCP server:
src/spec3_mcp_server/server.py@mcp.tool()Example:
@mcp.tool()
async def my_new_tool(param: str) -> str:
"""
Description of what this tool does.
Args:
param: Description of the parameter
Returns:
str: Description of the return value
"""
logger.info(f"my_new_tool called with: {param}")
return f"Processed: {param}"
Reinstall the package (if needed):
pip install -e .
Restart Claude Desktop to load the updated tools
The project includes configuration for:
Run quality checks:
# Format code
black src/
# Sort imports
isort src/
# Type checking
mypy src/
# Linting
ruff check src/
# Run tests (when added)
pytest
Server won't start:
python --versionpip install fastmcpwhich pythonClaude Desktop can't connect:
claude_desktop_config.json are correctTools not appearing:
ps aux | grep spec3-mcp-serverWSL-specific issues:
wsl --versionwsl -e python --versionwsl -l -vThe server includes comprehensive logging. Check the console output for:
To see logs when running via Claude Desktop, you can redirect them to a file by modifying the config:
{
"mcpServers": {
"spec3-mcp-server": {
"command": "wsl",
"args": [
"-e",
"/bin/bash",
"-c",
"/home/dhevb/workspaces/spec3-mcp-server/venv/bin/python /home/dhevb/workspaces/spec3-mcp-server/src/spec3_mcp_server/main.py 2>> /home/dhevb/workspaces/spec3-mcp-server/mcp-server.log"
]
}
}
}
If you encounter issues:
Once you have the local server working:
MIT License - see LICENSE file for details.
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases
Official GitHub integration for repos, issues, PRs, and CI/CD workflows