Crimson Crab MCP Template
概览
作者提供的说明(英文原文)
Ready-to-clone Rust MCP server with chat, token-counting, and model tools for Claude
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: –
- 传输方式:
- 分类: 聊天与邮件
安装
选择你使用的 AI 应用,然后复制设置。
通过 2/2 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
Claude 暂时无法连接 Crimson Crab MCP Template
开发者尚未在 MCP 注册表中填写安装方式
ChatGPT 暂时无法连接 Crimson Crab MCP Template
开发者尚未在 MCP 注册表中填写安装方式
你可以改用这些方式
B · 聊天与邮件 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- Inbox Zero✓ ChatGPT
- Agent-Native Chat✓ ChatGPT
- draw.io✓ ChatGPT
Claude Code 暂时无法连接 Crimson Crab MCP Template
开发者尚未在 MCP 注册表中填写安装方式
Cursor 暂时无法连接 Crimson Crab MCP Template
开发者尚未在 MCP 注册表中填写安装方式
VS Code 暂时无法连接 Crimson Crab MCP Template
开发者尚未在 MCP 注册表中填写安装方式
一览
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月11日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 singhpratech 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于9天前
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“聊天与邮件”中的其他服务器比较i
- 星标数多于此分类中其他 1960 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 1960 个服务器的 19% 更新
- 基础检查结果等于或优于此分类中其他 1960 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Crimson Crab MCP Template 安全吗?
它在 2 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于9天前,最新版本(0.3.1)于3个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。
有什么可以替代它?
同一分类中有:Inbox Zero, Agent-Native Chat, draw.io
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Agent-Native Chat
Minimal chat-first app with durable threads, actions, and the app-agent loop
draw.io
Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Claude-powered MCP server in Rust (starter template)
A minimal, production-ready Model Context Protocol (MCP) server, written in Rust, backed by Anthropic's Claude API through the crimson-crab SDK. It exposes five tools: ask_claude (send a prompt, get Claude's reply), chat (multi-turn conversation), count_tokens (price a prompt without running it), list_models (enumerate the models your API key can use), and get_model (limits and metadata for one model).
Use it as the reference starting point for building your own Claude-powered MCP tools in Rust.
Use this template
Click Use this template on GitHub, or generate a fresh project with cargo generate:
cargo generate --git https://github.com/singhpratech/crimson-crab-mcp-template
You can also just clone it:
git clone https://github.com/singhpratech/crimson-crab-mcp-template
Quickstart
export ANTHROPIC_API_KEY=sk-ant-...
cargo run
The server communicates over stdio, so running it directly just waits for an MCP client to connect. All logging goes to stderr — stdout is reserved for the MCP protocol. Set RUST_LOG=debug for more verbose logs.
To build an optimized binary you can point a client at:
cargo build --release
-> target/release/crimson-crab-mcp-template
Wire it into Claude Desktop
Add an entry to your Claude Desktop MCP config (claude_desktop_config.json), pointing at the built binary and passing your API key through the environment:
{
"mcpServers": { "claude-via-crimson-crab": { "command": "/absolute/path/to/target/release/crimson-crab-mcp-template", "env": { "ANTHROPIC_API_KEY": "sk-ant-..." } } } }
Restart Claude Desktop; the ask_claude, chat, count_tokens, list_models, and get_model tools will then be available.
The tools
ask_claude
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | yes | The prompt to send to Claude. |
system | string | no | Optional system prompt. |
Builds a Claude Messages request (defaulting to the claude-opus-5 model), calls the API, and returns the concatenated text of Claude's reply.
chat
| Parameter | Type | Required | Description |
|---|---|---|---|
messages | array | yes | The conversation so far, oldest first: {role, content} where role is an enum constrained to "user" or "assistant". Must end with a user turn. |
system | string | no | Optional system prompt. |
model | string | no | Model id (defaults to the ask_claude model). |
max_tokens | integer | no | Maximum tokens to generate (default 1024). |
Sends the whole message history to Claude and returns the next reply — use it instead of ask_claude when the caller needs to keep context across turns.
count_tokens
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | yes | The prompt whose token count you want. |
system | string | no | Optional system prompt to include in the count. |
model | string | no | Model id to count against (counts are model-specific). |
Returns the number of input tokens the prompt would consume, without running it — useful for estimating cost before an expensive call.
list_models
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | no | Maximum number of models to return. |
Returns the id, display name, and release date of each Claude model available to the configured API key.
get_model
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | yes | The model id to look up, e.g. claude-opus-5. |
Returns the model's display name, release date, context window (max_input_tokens), and maximum output tokens.
Errors from all tools are returned as MCP tool errors rather than panicking. The Claude client is built once at startup and reused across calls.
Built with crimson-crab
This template is built with crimson-crab — a production-grade Rust SDK for Anthropic's Claude API. Source: https://github.com/singhpratech/crimson-crab.
License
Licensed under either of
- MIT license (LICENSE-MIT)
- Apache License, Version 2.0 (LICENSE-APACHE)
at your option.
crimson-crab is an independent open-source project and is not affiliated with Anthropic.