alokverma18/mcp
Build and use your custom MCP (Model Context Protocol) servers
Platform-specific configuration:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
A simple project demonstrating how to build and use MCP (Model Context Protocol) servers.
pip install -r requirements.txt{
"mcpServers": {
"github": {
"command": "python",
"args": ["/path/to/server/github.py"],
"env": {
"GITHUB_TOKEN": "your_github_token_here (see .env.example)"
}
},
"database": {
"command": "python",
"args": ["/path/to/server/database.py"]
}
}
}This MCP server is deployed and available for testing at:
https://my-mcp.fastmcp.app/mcpConfigure Windsurf to use the deployed endpoint:
{
"mcpServers": {
"github-mcp-deployed": {
"url": "https://my-mcp.fastmcp.app/mcp",
"disabled": false
}
}
}Test the deployed server:
For development and testing:
# Test GitHub server
python testing/test_github_server.py get-repos octocat
# Test Database server
python testing/test_database_server.py query "SELECT * FROM users"mcp/
āāā server/ # MCP servers
ā āāā github.py # GitHub API server
ā āāā database.py # Database server
āāā client/ # Real LLM client
ā āāā mcp_client.py # LLM integration example
āāā testing/ # Server testing utilities
ā āāā test_githLoading reviews...