MCP 助手
- 作者仓库星标 0
- 作者仓库 skills-registry
mcp-server
Exposes Arc's core surfaces via the Model Context Protocol (MCP). External Claude Code instances, Cursor, or any MCP client can interact with Arc's task queue, skill tree, memory, and dispatch state.
Architecture
- Runtime: Bun +
@modelcontextprotocol/sdk - Transports: stdio (local, default) or HTTP (remote,
--transport http) - Auth: API key via
--auth-keyflag ormcp-server/auth_keycredential (HTTP only) - Database: Read/write to
db/arc.sqlitevia existingsrc/db.tsfunctions
Exposed Surfaces
Tools (read-write)
| Tool | Description |
|---|---|
list_tasks |
List tasks by status/priority (default: pending + active) |
create_task |
Queue a new task with subject, priority, skills |
get_task |
Fetch task details + result by ID |
close_task |
Mark task completed or failed with summary |
list_skills |
List installed skills with metadata |
get_status |
Agent status: pending/active counts, costs, last cycle |
Resources (read-only)
| Resource | URI | Description |
|---|---|---|
| Memory | arc://memory |
Current MEMORY.md contents |
| Cycle Log | arc://cycles |
Last 20 dispatch cycles |
CLI
arc skills run --name mcp-server -- start # stdio transport (default)
arc skills run --name mcp-server -- start --transport http # HTTP on port 3100
arc skills run --name mcp-server -- start --port 3100 --auth-key KEY # custom port + auth
When to Load
Load when: building or maintaining the MCP server itself, debugging connection issues, or adding new tools to the exposed surface. Do NOT load when using Arc as a dispatch agent — this skill is for managing the MCP server, not for tasks executed by external MCP clients.
Claude Code Integration
Add to .claude/settings.json (external client config, not Arc's own dispatch):
{
"mcpServers": {
"arc": {
"command": "bun",
"args": ["skills/arc-mcp-server/server.ts"],
"alwaysLoad": true
}
}
}
alwaysLoad: true is recommended for external clients — it ensures tools are immediately available without a ToolSearch round-trip. Do NOT add arc-mcp-server to Arc's own .claude/settings.json; Arc uses the arc CLI directly during dispatch and does not connect to its own MCP surface.
For remote HTTP:
{
"mcpServers": {
"arc": {
"url": "http://localhost:3100/mcp",
"alwaysLoad": true
}
}
}
Timeout Configuration
External Claude Code clients connecting via HTTP transport should set MCP_TOOL_TIMEOUT for long-running resource operations:
export MCP_TOOL_TIMEOUT=120000 # 120 seconds (default: 60s)
This is primarily relevant for large MEMORY.md reads or extended cycle log queries. Arc's native tools (list_tasks, create_task, get_status) typically complete in <5 seconds. See Claude Code v2.1.142+ release notes for details on MCP_TOOL_TIMEOUT behavior.
<!-- tomevault:4.0:skill_md:2026-05-23 -->Source: arc0btc/arc-starter — distributed by TomeVault.
- 流狐分类
- AI 智能
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @tomevault-io · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 需要 · Vendor-specific
- 检测到的系统要求
- macOS · Linux · Windows
- 底层运行要求
- Bun
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 检测到的网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Runtime: Bun + @modelcontextprotocol/sdk Transports: stdio (local, default) or HTTP (remote, --transport http) Auth: API key via --auth-key flag or mcp-server/authkey credential (HTTP only)
Exposed Surfaces
Tool · Description listtasks · List tasks by status/priority (default: pending + active) createtask · Queue a new task with subject, priority, skills
Resource · URI · Description Memory · arc://memory · Current MEMORY.md contents Cycle Log · arc://cycles · Last 20 dispatch cycles
CLI
Load when: building or maintaining the MCP server itself, debugging connection issues, or adding new tools to the exposed surface. Do NOT load when using Arc as a dispatch agent — this skill is for managing the MCP server, not for tasks executed by external…
# mcp-server
Exposes Arc's core surfaces via the Model Context Protocol (MCP). External Claude Code instances, Cursor, or any MCP client can interact with Arc's task queue, skill tree, memory, and dispatch state.
## Architecture
- **Runtime:** Bun + `@modelcontextprotocol/sdk`
- **Transports:** stdio (local, default) or HTTP (remote, `--transport http`)
- **Auth:** API key via `--auth-key` flag or `mcp-server/auth_key` credential (HTTP only)
- **Database:** Read/write to `db/arc.sqlite` via existing `src/db.ts` functions
## Exposed Surfaces
### Tools (read-write)
| Tool | Description |
|------|-------------|
| `list_tasks` | List tasks by status/priority (default: pending + active) |
| `create_task` | Queue a new task with subject, priority, skills |
| `get_task` | Fetch task details + result by ID |
| `close_task` | Mark task completed or failed with summary |
| `list_skills` | List installed skills with metadata |
| `get_status` | Agent status: pending/active counts, costs, last cycle |
### Resources (read-only)
| Resource | URI | Description |
|----------|-----|-------------|
| Memory | `arc://memory` | Current MEMORY.md contents |
| Cycle Log | `arc://cycles` | Last 20 dispatch cycles |
## CLI
```
arc skills run --name mcp-server -- start # stdio transport (default)
arc skills run --name mcp-server -- start --transport http # HTTP on port 3100
arc skills run --name mcp-server -- start --port 3100 --auth-key KEY # custom port + auth
```
## When to Load
Load when: building or maintaining the MCP server itself, debugging connection issues, or adding new tools to the exposed surface. Do NOT load when using Arc as a dispatch agent — this skill is for managing the MCP server, not for tasks executed by external MCP clients.
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Architecture → Exposed Surfaces → Tools (read-write) → Resources (read-only) → CLI → When to Load
要点 -> Runtime · Transports · Auth · Database
文件/命令 -> @modelcontextprotocol/sdk · --transport http · --auth-key · mcp-server/authkey · db/arc.sqlite · src/db.ts · listtasks · createtask
内容 SHA-256 -> 686f18b4354c
原文结构
适用与边界
原文中的明确线索
@modelcontextprotocol/sdk、--transport http、--auth-key、mcp-server/authkey、db/arc.sqlite、src/db.ts、listtasks、createtask