Supported Tools
Prerequisites
- Profy account with Developer role
- API Key (create at Developer Console, format
sk-pro-*) - Expert must have API access enabled (
apiAccess: "open")
Method 1: Skill Integration (Recommended, Zero Infrastructure)
A Skill is a Markdown file that teaches AI coding tools how to call the Profy API. Once installed, the agent automatically knows when and how to invoke Profy Experts.Claude Code
The plugin ships in the Profy repository underagent-plugin/. Its installer detects which coding tools you have and writes the right file for each of them:
quick-start, distillation, publish-and-earn and evolution — plus a .mcp.json pointing at the remote MCP server.
Set your API Key:
“Use Profy’s react-architect Expert to review this code”Claude Code will follow the Skill instructions and call
POST https://api.profy.cn/v1/agents/run with expert_identifier: "react-architect" automatically.
Cursor
The same installer writes a.cursor/rules/ entry plus .cursor/mcp.json:
Codex / Gemini CLI / others
The installer covers 13 tools natively — Claude Code, Copilot, Gemini CLI, OpenCode, Cursor, Codex, Aider, Windsurf, OpenClaw, Qwen Code, Kimi Code, Osaurus and Hermes — each in that tool’s own format and install location. Anything else that speaks MCP can point athttps://mcp.profy.cn/mcp directly.
Make sure PROFY_API_KEY is exported in whichever shell the tool runs in.
Method 2: MCP Server Integration
MCP (Model Context Protocol) provides deeper integration, allowing AI tools to invoke Profy Experts via structured tool calls.Configure .mcp.json
Create .mcp.json at your project root:
Register in Claude Code
Available tools
The MCP server exposes 22 tools, grouped by what they let you do from inside the IDE. Note the emphasis: this surface is built for creating and shipping Experts, not just calling them.There is no
invoke_expert tool — running an Expert against a payload goes through the REST API (POST /v1/agents/run). MCP covers the authoring loop: distil, configure, test, publish, watch earnings.API Endpoint Reference
All requests requireAuthorization: Bearer $PROFY_API_KEY.
Base URL: https://api.profy.cn
The full inventory, including sessions, files and environments, is in the endpoint reference.
Invoke an Expert
The Expert identifier goes in the body, not the path:text/event-stream).
Multi-turn Conversations
Passsession_id to continue an existing thread:
OpenAI-Compatible Chat
For Creators: Enable API Access for Your Expert
API access is off by default on every Expert — that’s the stored default of theapi_access column, and it carries through releases and pending submissions like any other content field.
- Edit your Expert in Studio
- Set API Access to
Open(any developer holding an API key may invoke it) - Publish a new version — the change reaches the public surface only after review, like every other content change
FAQ
What's the difference between Skill and MCP?
What's the difference between Skill and MCP?
- Skill: Plain text instructions that teach AI how to curl your API. Zero infrastructure, cross-platform compatible.
- MCP Server: Structured tool protocol where AI makes function calls. More powerful but requires server-side support.
Getting 403 Forbidden?
Getting 403 Forbidden?
The Expert’s
api_access field is off, which is the default for every Expert. Ask its creator to enable API access, or use one that already has api_access: open.How to parse SSE streams?
How to parse SSE streams?
Responses use standard Server-Sent Events format. Each line starts with
data: and the stream ends with data: [DONE]. Most HTTP clients and AI tools natively support SSE parsing.Which models are supported?
Which models are supported?
Via the
/v1/chat/completions endpoint, all platform-configured models are available (DeepSeek, Qwen, etc.). Available models depend on platform configuration.How does billing work?
How does billing work?
Token-based billing (METERED). Credits are deducted from the API Key owner’s account. View usage in the Developer Console.
Key numbers
Failures and fixes
Next Steps
Endpoint reference
Every
/v1/* route with auth and purposeSSE events
The event types you’ll parse out of a run
MCP tools
Full parameter reference for all 22 tools
Python SDK
A typed client instead of raw curl
Verified 2026-08-12. Sources:
services/core/src/routes/platform-api/index.ts (the /v1 surface), services/core/src/routes/mcp/tools/index.ts (22 registered tools), packages/db/src/schema/marketplace.ts (api_access default).
