技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
singhpratech/crimson-crab-mcp-template

singhpratech/crimson-crab-mcp-template

A ready-to-clone Rust MCP server for Claude via crimson-crab — ask_claude, chat, count_tokens, list_models, get_model
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add crimson-crab-mcp-template -- npx -y crimson-crab-mcp-template
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
0 ★ · singhpratech/crimson-crab-mcp-template · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 singhpratech/crimson-crab-mcp-template;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

Claude-powered MCP server in Rust (starter template)

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

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:
You can also just clone it:
Quickstart
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:
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:
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 |
来源
awesome · https://github.com/singhpratech/crimson-crab-mcp-template
按领域浏览
MCP 服务
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引