Files
agent_management/agent_templates/agents/code_ai_agent/.cursorrules
T

39 lines
970 B
Plaintext

# Cursor MCP 服务器配置
# 将此配置添加到 Cursor 的 MCP 设置中
# 方式1: 本地 stdio 调用(推荐用于本地开发)
# {
# "mcpServers": {
# "code-assistant": {
# "command": "python",
# "args": ["/home/taiji/tools/Pydantic-ai/run_mcp_server.py", "--transport", "stdio"],
# "env": {
# "OPENAI_API_KEY": "your_api_key",
# "OPENAI_BASE_URL": "https://litellm.graystone-fb459c5d.southeastasia.azurecontainerapps.io/v1",
# "LITELLM_MODEL": "openai:taiji/gpt-4o-mini"
# }
# }
# }
# }
# 方式2: 远程 HTTP 调用(部署到云虚拟机后使用)
# {
# "mcpServers": {
# "code-assistant": {
# "url": "http://your-vm-ip:8001/mcp",
# "type": "http"
# }
# }
# }
# 方式3: 远程 SSE 调用(部署到云虚拟机后使用)
# {
# "mcpServers": {
# "code-assistant": {
# "url": "http://your-vm-ip:8001/mcp/sse",
# "type": "sse"
# }
# }
# }