Docs MCP server
Connect Claude Code, Cursor or VS Code to the Portman Docs MCP server so your agent reads current Portman docs and config templates.
The Portman Docs MCP server lets an AI coding agent look up the current Portman documentation, config templates and tool comparisons while it works, instead of relying on what it remembers. It is public, read-only and needs no API key.
Endpoint: https://getportman.com/mcp (Streamable HTTP)
Connect your agent
Claude Code
claude mcp add --transport http portman-docs https://getportman.com/mcpCursor
Add the server to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json for every project:
{ "mcpServers": { "portman-docs": { "url": "https://getportman.com/mcp" } }}VS Code
Add the server to .vscode/mcp.json:
{ "servers": { "portman-docs": { "type": "http", "url": "https://getportman.com/mcp" } }}Any other client that supports Streamable HTTP can use the same URL.
Tools
| Tool | What it returns |
|---|---|
search_docs | The most relevant sections across the Portman docs for a query |
get_doc | A full docs page, or one section of it, by path or URL |
list_docs | Every docs page with its title and description |
list_templates | Ready-made portman-config.json templates, optionally filtered by keyword or tag |
get_template | One template: the full config, the command to run it and usage notes |
compare_tools | A sourced comparison with Schemathesis, Specmatic, Pact/PactFlow, Postman, Dredd or Step CI |
Try it
Once connected, ask your agent something like:
- "Add Portman contract tests for our OpenAPI spec and run them in GitHub Actions."
- "Write a portman-config.json that logs in first and reuses the token for every request."
- "Should we use Portman or Schemathesis for our API?"
The agent searches the docs, reads the relevant pages and templates, and then runs the Portman CLI in your project.
What it doesn't do
The server only serves documentation. It does not run Portman, read your spec or call your API; the agent runs the CLI locally for that. An MCP server that runs contract tests directly is planned.