Start a project Estimate a range

Public MCP tools, Markdown pages and a project brief API. No account required.

Documentation

MCP developer documentation

Start with a local Python server over stdio, then call the public stateless endpoint. Both use the same tool contracts and the same deterministic estimator.

Start a project

In short

This documentation covers the reference MCP server in the download bundle, the public /mcp Streamable HTTP endpoint, protocol lifecycle, tool design, authentication guidance, error handling, testing and troubleshooting. The public endpoint supports initialize, tools/list, tools/call, resources and prompts; authenticated tenant tools are not part of this build.

What is implemented

The reference server is a small Python program using the official MCP Python SDK over stdio. It exposes two tools, one resource and one prompt, with no credentials and no external writes.

The public endpoint at /mcp is a stateless Streamable HTTP JSON-RPC endpoint. It implements initialize, notifications/initialized, tools/list, tools/call, resources/list, resources/read, prompts/list and prompts/get. It does not implement tasks, interactive apps or OAuth-protected tenant tools.

Implemented surface
SurfaceStatusWhere
stdio reference serverImplementedDownload bundle, mcp/server.py
Streamable HTTP /mcpImplemented, statelessThis site
Tools and structured resultsImplemented7 capabilities
Resources and promptsImplemented/mcp
OAuth-protected tenant toolsNot implementedDesign guidance below
MCP Tasks and MCP AppsNot implementedRoadmap, not claimed
Signed execution receiptsImplementedX-Evidence-Id on tools/call

Quickstart: local stdio server

Requires Python 3.10+ and a compatible client. Run from the unpacked bundle.

python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
python server.py

Client configuration

Use absolute paths. The server must not be exposed publicly when run over stdio.

{
  "mcpServers": {
    "custommcp-reference": {
      "command": "/absolute/path/.venv/bin/python",
      "args": ["/absolute/path/server.py"]
    }
  }
}

Download the reference server

The bundle contains the server, the catalog module, requirements and unit tests. It has no credentials and no external write path. Install it in an isolated environment and keep it local.

The download is generated from the same source tree as this page, so the documented tool names match the code.

Call the public endpoint

Stateless JSON-RPC over POST. Add -i to inspect X-Evidence-Id and Link headers.

curl -s https://custommcp.com/mcp -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}}}'
curl -s https://custommcp.com/mcp -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'
curl -s https://custommcp.com/mcp -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"estimate_project","arguments":{"tools":6,"integrations":2}}}'

Tools

Public tool surface
ToolPurposeRate limit
list_servicesReturn services with indicative ranges120/min per IP
estimate_projectDeterministic USD range from tools and integrations60/min per IP
get_integration_requirementsPrerequisites and limits for github, postgresql or google-drive120/min per IP
search_knowledgeSearch approved public content60/min per IP
get_pageReturn a page as Markdown120/min per IP
create_inquiryStore a project brief and return a reference code5/hour per IP
get_agent_promptReturn a context-aware handoff prompt60/min per IP

Tool design rules

One tool should do one job. If a description needs the word and to explain two behaviors, split it. Keep the input schema strict, return a short text summary plus structuredContent, and make the error shape stable.

Annotations are hints for hosts, not authorization. A tool marked readOnlyHint must also be enforced read-only on the server. Never rely on a description to prevent a dangerous call.

Lifecycle rules

  • Validate the MCP-Protocol-Version header on requests after initialize; reject unsupported versions cleanly.
  • Return the negotiated protocol version in the initialize result, not the version you wish the client used.
  • Accept notifications/initialized without a response body.
  • Cap request bodies at 64 KiB on public endpoints.
  • Use JSON-RPC error codes for protocol errors and structured content for application errors.
  • Make tools/call idempotent where the operation allows it and document which do not.
  • Emit a request ID in logs and an evidence receipt for every state-changing call.

Authentication guidance

The public endpoint needs no authentication because it is read-only plus a rate-limited inquiry write. A tenant-scoped deployment does need authentication, and the model is OAuth 2.1 with PKCE, a resource indicator bound to the MCP server, and short-lived access tokens.

Publish protected-resource metadata at /.well-known/oauth-protected-resource and authorization-server metadata at /.well-known/oauth-authorization-server. Never pass the client's token through to a downstream API; exchange it for a per-tenant connector credential server-side.

Error handling

JSON-RPC codes used by the reference endpoint
CodeMeaningClient action
-32700Parse errorFix the JSON body
-32600Invalid requestInclude jsonrpc, method and id as required
-32601Method not foundCheck the supported method list
-32602Invalid paramsRead the data field for the schema violation
-32603Internal errorRetry with backoff or report the request ID
-32000Rate limitedRespect Retry-After and back off
-32001Evidence unavailableRetry or contact support with the request ID

Smoke test

Run the repository verification suite to test build, links, schema, negotiation and MCP.

python3 tools/verify.py --serve
node tools/browser_check.mjs --base http://127.0.0.1:8765

Troubleshooting

Common failures
SymptomLikely causeFix
Client shows no toolsServer not initialized or client launched the wrong commandCheck stderr, absolute paths and the initialize result
initialize fails with version errorClient and server have no supported revisionPin a supported protocol version and retest
tools/call returns 400Missing Content-Type or oversized bodySend application/json under 64 KiB
Remote call returns 403Origin or auth policy rejected the requestUse a server-side client, not a browser, and read the error
Inquiry returns 429Rate limit reachedWait for the Retry-After window
Markdown request returns HTMLAccept header not sent or proxy stripped itSend Accept: text/markdown and check Vary: Accept

Questions people ask before starting

Is there an SDK to install?

No. Use the official MCP SDKs. The reference server uses the official Python SDK, and the documentation pins the version in requirements.txt.

Can I call /mcp from a browser?

It is designed for server-side clients. CORS is restricted and Origin checks apply. Browser-native use is through WebMCP on the pages, not direct cross-origin MCP calls.

Are the tools free?

Yes. The public tools are free and rate-limited. No payment credentials are needed.

How do I report a documentation error?

Use the contact form with the topic Other and the page URL. Corrections are recorded in the changelog.

Next step

Go from docs to a scoped build

If the reference shape fits but your systems do not, start with a discovery and a permission boundary.

Start a project See pricing

Last verified .

Start a project

Tell us what you need

Used only to reply. No newsletter.

System, AI client and action. Do not include secrets or personal data.

No account. A reference code is returned immediately. Prefer an agent? Use the agent hub.

Copy manually

Clipboard access was blocked. Select the text and copy it.