mcp-starter
mcp-starter
Local FastMCP servers managed with uv (Python 3.13+).
Setup
uv sync
source .venv/bin/activate # optional; uv run works without itServers
Server | Entrypoint | HTTP port |
Todo MCP |
|
|
Postgres MCP |
|
|
Run (no reload)
uv run mcp-starter
uv run postgres-mcpRun with hot reload (recommended for development)
Prefer FastMCP’s built-in reload (cleaner process teardown than wrapping with watchfiles):
# Todo MCP
uv run fastmcp run src/mcp_starter/__init__.py:mcp \
--transport http --host 127.0.0.1 --port 8005 \
--reload --reload-dir src
# Postgres MCP
uv run fastmcp run src/postgres_mcp/__init__.py:mcp \
--transport http --host 127.0.0.1 --port 8006 \
--reload --reload-dir srcAlternative using watchfiles:
uv run watchfiles --filter python 'uv run postgres-mcp' srcIf reload fails with address already in use, an old process is still bound to the port:
lsof -nP -iTCP:8006 -sTCP:LISTEN
kill <pid>Clients
uv run mcp-client # hits http://localhost:8005/mcp
uv run postgres-client # hits http://localhost:8006/mcpStart the matching server first.
Claude Desktop (stdio)
Claude Desktop uses stdio, not HTTP. Add to
~/Library/Application Support/Claude/claude_desktop_config.json:
"todo-mcp": {
"command": "uv",
"args": [
"--directory",
"/Users/tayo/code/courses/AI/Claude/mcp-starter",
"run",
"fastmcp",
"run",
"src/mcp_starter/__init__.py:mcp"
]
},
"postgres-mcp": {
"command": "uv",
"args": [
"--directory",
"/Users/tayo/code/courses/AI/Claude/mcp-starter",
"run",
"fastmcp",
"run",
"src/postgres_mcp/__init__.py:mcp"
]
}Fully quit and reopen Claude Desktop after editing.
Package commands
uv add <package>
uv remove <package>
uv syncLatest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shadrach-tayo/Mcp-servers'
If you have feedback or need assistance with the MCP directory API, please join our Discord server