AI & MLAPI KeyOfficial MCP
Anthropic API MCP Server
Access Claude AI models for text generation, analysis, and code assistance through the Anthropic API.
Quick Setup
Transport: STDIO
Command: npx -y @anthropic/mcp-server
Environment Variables
ANTHROPIC_API_KEYExample: sk-ant-...
MCP Server Configuration
Add this to your claude_desktop_config.json or Cursor MCP settings.
{
"mcpServers": {
"anthropic": {
"command": "npx",
"args": ["-y","@anthropic/mcp-server"],
"env": {
"ANTHROPIC_API_KEY": "sk-ant-..."
}
}
}
}Endpoints
POST
/v1/messagesCreate a message
POST
/v1/completeComplete text