Getting started

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

bash
claude mcp add --transport http portman-docs https://getportman.com/mcp

Cursor

Add the server to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json for every project:

json
{  "mcpServers": {    "portman-docs": {      "url": "https://getportman.com/mcp"    }  }}

VS Code

Add the server to .vscode/mcp.json:

json
{  "servers": {    "portman-docs": {      "type": "http",      "url": "https://getportman.com/mcp"    }  }}

Any other client that supports Streamable HTTP can use the same URL.

Tools

ToolWhat it returns
search_docsThe most relevant sections across the Portman docs for a query
get_docA full docs page, or one section of it, by path or URL
list_docsEvery docs page with its title and description
list_templatesReady-made portman-config.json templates, optionally filtered by keyword or tag
get_templateOne template: the full config, the command to run it and usage notes
compare_toolsA 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.