Supported Tools
Prerequisites
- Profy account with Developer role
- API Key (create at Developer Console, format
profy_sk_*) - 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
“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/experts/react-architect/chat automatically.
Cursor
Codex / Cline / Gemini CLI
PlaceSKILL.md in your project’s agent skills directory (exact path varies by tool). Ensure the PROFY_API_KEY environment variable is set.
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 (after MCP Server launch)
The MCP Server endpoint
mcp.profy.cn is under development. Please use the Skill method for now.API Endpoint Reference
All requests requireAuthorization: Bearer $PROFY_API_KEY.
Base URL: https://api.profy.cn
Invoke an Expert
text/event-stream). The X-Session-Id header is used for multi-turn conversations.
Multi-turn Conversations
OpenAI-Compatible Chat
For Creators: Enable API Access for Your Expert
- Edit your Expert in Studio
- Set API Access to
Open(any developer with an API Key can invoke) - Publish a new version
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 (default). Ask the Expert creator to enable API access, or try a different Expert with 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.
Next Steps
- API Reference — Detailed parameter documentation for all endpoints
- SDK Quickstart — TypeScript/Python SDK integration
- Creator Incentives — Revenue sharing from API invocations

