Docs MCP server
Give Claude Code, Cursor, VS Code or any MCP client search and read access to this documentation through the docs MCP server at https://platform.pixai.art/docs-mcp. It serves the docs only; it does not generate images.
This documentation is available to AI coding agents through a remote Model Context Protocol server. Once connected, your agent can look up endpoints, parameters and examples itself instead of guessing them while it writes code against the PixAI API.
The server serves the documentation only. It cannot generate images or videos or call the PixAI API on your behalf; the code your agent writes does that, with your API key.
- URL:
https://platform.pixai.art/docs-mcp - Transport: Streamable HTTP
- Authentication: none, and it never spends credits.
Connect your editor or agent
Claude Code
claude mcp add --transport http pixai-docs https://platform.pixai.art/docs-mcpCursor
Add the server to ~/.cursor/mcp.json, or to .cursor/mcp.json in your project:
{
"mcpServers": {
"pixai-docs": {
"url": "https://platform.pixai.art/docs-mcp"
}
}
}VS Code
Add the server to .vscode/mcp.json in your project:
{
"servers": {
"pixai-docs": {
"type": "http",
"url": "https://platform.pixai.art/docs-mcp"
}
}
}Other clients
Any client that supports remote MCP servers over Streamable HTTP can connect with the URL above. For a client that only supports local (stdio) servers, bridge it with mcp-remote:
{
"mcpServers": {
"pixai-docs": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://platform.pixai.art/docs-mcp"]
}
}
}Tools
| Tool | What it does |
|---|---|
search_docs | Full-text search over every docs page, in English, Japanese or Korean. Returns the matching pages and sections with their URLs. |
read_doc | Returns one page as Markdown, including the request and response schemas of API reference pages. |
list_docs | Returns the docs index: every page with its URL and a one-line description, and links to the OpenAPI specs. |
Try asking your agent: "Using the pixai-docs MCP server, write a script that generates an image with the PixAI API and downloads it."
Docs for AI agents without MCP
The same content is available over plain HTTP:
/llms.txtlists every page with a short description, following the llms.txt convention./llms-full.txthas the full text of every page in one file.- Every docs page has a Markdown version: add
.mdto its URL, for example/en/docs/faq.md, or request the page with anAccept: text/markdownheader. - The OpenAPI 3.1 spec of API v2 is at
/openapi.json, for client generators and agents that read specs directly. - Each page has Copy Markdown and Open buttons under its title, to paste the page into a chat or open it in ChatGPT, Claude or Cursor.