MCP Service
Model Context Protocol service that supports accessing some Practihub functions via API Key or SingleKey
Configuration Guide
Endpoint
https://www.practihub.com/api/mcpAuthentication
- API Key: Pass via Authorization header
- SingleKey: Pass via tool arguments
Usage Example
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_model_lists",
"arguments": {
"key": "sk-ph-v1-xxx"
}
}
}Using in Trae
Configure Trae MCP
{
"servers": [
{
"name": "practihub-mcp",
"url": "https://www.practihub.com/api/mcp",
"type": "mcp"
}
]
}Call in Trae
// Use natural language to call in Trae "Please use Practihub MCP to get my profile" // Or let the agent discover and use automatically // Just configure the Endpoint, the agent will automatically understand available tools
Available Tools
get_profile
Get user profile information
get_model_lists
Get user's model list