The Fastah Docs Model Context Protocol (MCP) server lets AI coding assistants connect to Fastah API documentation and the REST API.
The server lets your AI assistant query documentation and call the Fastah API. It can help with request format, response fields, and how to interpret IP geolocation and related attributes.
To enable API calls, configure your Fastah-Key by following Quick Start.
What is MCP?
Model Context Protocol (MCP) is an open standard for giving AI apps secure access to external tools and data. The Fastah MCP server provides:
- Direct REST API access for IP lookups: Create a key in Quick Start, then add it to your MCP configuration.
- Documentation search: Ask questions about fields, formats, and behavior.
- Code generation support: Generate integration snippets for Fastah API use cases.
Setup with your AI coding agent
Fastah hosts a remote MCP server at https://docs.getfastah.com/mcp. Configure your AI tool to connect to this endpoint.
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"fastah-ip-geolocation-v1": {
"type": "http",
"url": "https://docs.getfastah.com/mcp",
"headers": {
"Fastah-Key": "${input:fastah-api-key-aws-marketplace}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "fastah-api-key-aws-marketplace",
"description": "Fastah API Key from AWS Marketplace: https://aws.amazon.com/marketplace/pp/B084VR96P3",
"password": true
}
]
}Testing the MCP setup
After setup, test the MCP connection:
- Open your AI editor (Visual Studio Code, Cursor, etc.)
- Start a new chat with the AI assistant
- Ask about Fastah API. Example prompts:
- "How do I [common use case]?"
- "Show me an example of [API functionality]"
- "Create a [integration type] using Fastah API"
The AI should now be able to access Fastah documentation and, if configured, run API calls through the MCP server.
Updated 17 days ago
