Token导航 LogoToken导航TokenDH.com
Ritekit API logo
开发工具stdio官方级别未说明来源级核验

Ritekit API

MCP Server

一个基于OpenAPI自动生成的MCP(Model Context Protocol)服务器,用于处理API交互和模型上下文管理。

工具数

0

提示词数

0

GitHub Stars

0

资源数

0
API集成开发工具Python模型上下文自动化

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

ag2-mcp-servers

提供方

ag2-mcp-servers

最后核验

2026/5/17 20:23

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

pip install -e ".[dev]"

详细介绍

MCP服务器

该项目是给定OpenAPI URL的MCP(模型上下文协议)服务器-https://api.apis.guru/v2/specs/ritekit.com/1.0.0/openapi.json,使用AG2自动生成 MCP构建器.

先决条件

  • Python 3.9+
  • pip和uv

安装

  1. 克隆存储库:
   git clone 
   cd mcp-server
  1. 安装依赖项:

.devcontainer/setup.sh 脚本使用以下命令处理安装依赖项 pip install -e ".[dev]"。如果您没有使用dev容器,则可以手动运行此命令。

   pip install -e ".[dev]"

或者,您可以使用 uv:

   uv pip install --editable ".[dev]"

发展

此项目使用 ruff 用于修剪和格式化, mypy 用于静态类型检查,以及 pytest 用于测试。

装订和格式化

检查棉绒问题:

ruff check

要格式化代码,请执行以下操作:

ruff format

这些命令也可通过 scripts/lint.sh 脚本。

静态分析

要运行静态分析(mypy、bandian、semgrep):

./scripts/static-analysis.sh

此脚本还配置为中的预提交挂钩 .预调试配置.yaml.

运行测试

要运行覆盖率测试,请执行以下操作:

./scripts/test.sh

这将运行pytest并生成覆盖率报告。对于合并报告和清理,您可以使用:

./scripts/test-cov.sh

预提交钩子

此项目使用中定义的预提交挂钩 .预调试配置.yaml.安装挂钩:

pre-commit install

钩子将在每次提交之前自动运行。

运行服务器

MCP服务器可以使用 mcpserver/main.py 脚本。它支持不同的传输模式(例如。, stdio, sse, streamable-http).

要启动服务器(例如,在stdio模式下):

python mcp_server/main.py stdio

可以使用环境变量配置服务器:

  • CONFIG_PATH:JSON配置文件的路径(例如。, mcpserver/mcpconfig.json).
  • CONFIG:包含配置的JSON字符串。
  • SECURITY:安全参数的环境变量(例如,API密钥)。

请参阅 if __name__ == "__main__": 把…的车堵住 mcpserver/main.py 有关如何加载这些文件的详细信息。

tests/test_mcp_server.py 该文件演示了如何以编程方式启动服务器并与之交互以进行测试。

建筑与出版

此项目使用Hatch进行构建和发布。 要构建项目,请执行以下操作:

hatch build

要发布项目,请执行以下操作:

hatch publish

这些命令也可通过 scripts/publish.sh 脚本。

目录标签

目录标签

API集成开发工具Python模型上下文自动化API管理本地部署自动化生成

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdionone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP

上一个 MCP

Risken MCP Server

RISKEN's official MCP Server

下一个 MCP

Rival MCP

rival-mcp MCP server for querying AI model comparison data from rival.tips This server lets AI coding assistants — Claude Code, Cursor, Windsurf, and any MCP-compatible client — natively query model benchmarks, pricing, capabilities, and side-by-side comparisons without leaving your editor. Quick Start npx rival-mcp No API key required. All data is served from the public rival.tips API. Configuration Claude Code Add to your .claude/settings.json (project-level) or ~/.claude/settings.json (global): { "mcpServers": { "rival": { "command": "npx", "args": ["-y", "rival-mcp"] } } } Claude Desktop Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows): { "mcpServers": { "rival": { "command": "npx", "args": ["-y", "rival-mcp"] } } } Cursor Add to your Cursor MCP settings (.cursor/mcp.json): { "mcpServers": { "rival": { "command": "npx", "args": ["-y", "rival-mcp"] } } } Windsurf Add to your Windsurf MCP config: { "mcpServers": { "rival": { "command": "npx", "args": ["-y", "rival-mcp"] } } } Available Tools list-models List all AI models with optional filtering. Parameters: Parameter Type Description provider string (optional) Filter by provider: OpenAI, Anthropic, Google, Meta, Mistral, etc. category string (optional) Filter by category: flagship, reasoning, coding, small, free, image-gen capability string (optional) Filter by capability: chat, code, vision, image-gen, function-calling q string (optional) Free-text search across name, ID, provider, and description Example prompts: "List all Anthropic models" "Show me free models" "What models support vision?" get-model Get detailed information about a specific model — benchmarks, pricing, capabilities, unique features, and provider availability. Parameters: Parameter Type Description id string (required) Model ID, e.g. gpt-4.1, claude-3.7-sonnet, gemini-2.5-pro Example prompts: "Get details on claude-3.7-sonnet" "What are the benchmarks for gpt-4.1?" compare-models Compare 2-3 models side by side — benchmarks, pricing, capabilities, and shared challenges. Parameters: Parameter Type Description models string (required) Comma-separated model IDs (2-3). Example: gpt-4.1,claude-3.7-sonnet Example prompts: "Compare GPT-4.1 vs Claude 3.7 Sonnet" "How does Gemini 2.5 Pro stack up against GPT-4.1 and Claude Sonnet?" search-models Search for models by name, description, or capability when you don't know the exact model ID. Parameters: Parameter Type Description query string (required) Search query, e.g. vision, cheap coding, fast reasoning Example prompts: "Find models good at coding" "Search for cheap reasoning models" Development # Install dependencies npm install # Run in development mode npm run dev # Build for production npm run build # Run the built server npm start How It Works This MCP server communicates over stdio (standard input/output) using the Model Context Protocol. When an AI assistant needs model comparison data, it calls the appropriate tool, which fetches data from the rival.tips public API and returns structured JSON. The server exposes no resources or prompts — only tools. All data is read-only and publicly available. Data Source All model data comes from rival.tips, an AI model comparison platform featuring: 60+ AI models with benchmarks, pricing, and capability data Side-by-side comparisons with shared challenge responses Community-driven AI duel voting and rankings Pre-generated showcase responses across coding, creative, and reasoning tasks License MIT