API v2
2026-06-12

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://api.onetimesecret.com/doc/api-v2/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"v2 - Secrets API (stable) MCP server": {
  "url": "https://api.onetimesecret.com/doc/api-v2/mcp"
}
Close

Our current stable API. JSON-based, with improved consistency and new endpoints compared to v1. Actively maintained and recommended for production use. Receives new features and updates, but breaking changes are avoided or properly deprecated.

This is version 2026-06-12 of this API documentation. Last update on Jun 12, 2026.