datpaq-mcp
OfficialDatpaq MCP Server
Hosted Model Context Protocol server for the Datpaq API.
Connect · Configure your client · Self-host · Dashboard ↗
Hosted at https://mcp.datpaq.com/ — also installable locally and self-hostable.
datpaq-mcp-http exposes the Datpaq API as MCP tools over streamable HTTP, so any MCP-compatible client (Claude Desktop, Cursor, Codex, Cline, Continue, agent frameworks) can call Datpaq endpoints with a single connection.
For the local CLI (and the stdio MCP that ships with it for Claude Desktop), see github.com/datpaq/cli.
Connect
URL |
|
Transport | streamable HTTP |
Auth |
|
Tools | 34 hosted tools across 13 active APIs |
Verify with curl:
curl -s -X POST https://mcp.datpaq.com/ \
-H "Authorization: Bearer $YOUR_DATPAQ_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"curl","version":"0"}}}'Auth model: every request must present a Datpaq API key as Authorization: Bearer <key> — the server holds no credentials of its own, so a single instance can serve many tenants, each billed against their own Datpaq account.
Related MCP server: APIMesh MCP Server
Configure your client
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"datpaq": {
"url": "https://mcp.datpaq.com/",
"headers": {
"Authorization": "Bearer YOUR_DATPAQ_API_KEY"
}
}
}
}Cursor (~/.cursor/mcp.json or project .cursor/mcp.json):
{
"mcpServers": {
"datpaq": {
"url": "https://mcp.datpaq.com/",
"headers": {
"Authorization": "Bearer YOUR_DATPAQ_API_KEY"
}
}
}
}Codex CLI:
export DATPAQ_API_KEY="YOUR_DATPAQ_API_KEY"
codex mcp add datpaq --url https://mcp.datpaq.com/ --bearer-token-env-var DATPAQ_API_KEYCodex TOML:
[mcp_servers.datpaq]
url = "https://mcp.datpaq.com/"
bearer_token_env_var = "YOUR_DATPAQ_API_KEY"For full step-by-step instructions per client (including Cline and Continue), see the Datpaq MCP docs.
Self-host
Install via Go:
go install github.com/datpaq/mcp/cmd/datpaq-mcp-http@latestRequires Go 1.26.3+.
Or pull the Docker image:
docker build -t datpaq-mcp-http -f cmd/datpaq-mcp-http/Dockerfile .
docker run -p 8080:8080 datpaq-mcp-httpRun it:
datpaq-mcp-http --addr :8080Then point an MCP client at http://localhost:8080/.
Ships with a Fly.io config for one-command deploys:
fly launch --config fly.toml
fly deployNo secrets to configure — clients authenticate per request.
What's exposed
The server registers one MCP tool per active Datpaq API endpoint. The active set is curated in internal/cli/active-apis.json — add a slug there when a new API ships on datpaq.com, redeploy, and the tool appears for every connected client.
Inactive APIs are scrubbed entirely from the MCP surface (unlike the CLI, which still lets you invoke them directly). This keeps the hosted tool list focused on production-ready endpoints.
Tools that depend on local state or shell-out to the user's machine (auth flows, config writers, etc.) are deliberately not registered — see internal/mcp/public_tools.go.
Configuration
Variable | Purpose |
| Override the API base URL (default: |
| HTTP listen port (default: |
The Datpaq API key is not a server-side variable. Each request must include it as Authorization: Bearer <key>. See the Quickstart auth model.
Managing active APIs
The active set is curated in internal/cli/active-apis.json. The CLI repo is the canonical place to regenerate that manifest from the admin dashboard export (or, in Phase 2, GET /api/v1/catalog/active). This repo receives updates via sync — it does not ship its own fetch tooling.
{
"active": [
"convert-time",
"ip-geolocation",
"..."
]
}Canonical workflow (sibling checkout at ../CLI):
# In the CLI repo
cd ../CLI
make fetch-active-apis CATALOG_INPUT=./export.json # or CATALOG_URL=... after Phase 2
make sync-active-apis # CLI → MCP
# Then here
make build && make test
# commit internal/cli/active-apis.json + code changes, deployIf you edited active-apis.json in this repo by mistake, push it back to CLI with ./scripts/sync-active-apis.sh (MCP → CLI only). Prefer the CLI-first flow above for normal updates.
Development
git clone https://github.com/datpaq/mcp && cd mcp
make build
./bin/datpaq-mcp-http --addr :8080Run tests:
make testLicense
Apache 2.0 — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/datpaq/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server