Xiaobai Print MCP
An MCP server and local HTTP bridge designed to integrate remote upstream MCP tools into OpenClaw skills or local environments. It enables users to generate skill wrappers and proxy tool calls via a local HTTP bridge for use in Claude Desktop, Cursor, or OpenClaw.
README
xiaobai-print
This repository now centers on the wrapper-skill flow:
- Run a local HTTP bridge
- Read the bridge tool list
- Generate one or more OpenClaw skill directories
- Let each skill call the bridge through a local
invoke.js
The repository still includes the stdio MCP server for Claude Desktop / Cursor, but the recommended OpenClaw path is:
OpenClaw skill -> scripts/invoke.js -> local HTTP bridge -> remote MCP
Build
npm install
npm run build
Executables
xiaobai-print-mcp: stdio MCP serverxiaobai-print-bridge: local HTTP bridge for generated skillsgenerate-openclaw-skill: skill generator that reads the bridge tool list
Run The Local Bridge
Start the local HTTP bridge on 127.0.0.1:8787:
MY_MCP_UPSTREAM_URL="https://mcp.gongfudou.com/mcp/openclaw/sse" \
MY_MCP_TOKEN="your-token" \
xiaobai-print-bridge
Or use the compiled file directly:
node dist/bridge/http.js --host 127.0.0.1 --port 8787
Bridge endpoints:
GET /healthGET /mcp/toolsPOST /mcp/tools/{toolName}
The bridge accepts Authorization: Bearer <token> per request. If the request omits Authorization, it falls back to MY_MCP_TOKEN / OPENCLAW_TOKEN.
Generate OpenClaw Skills
Generate a single skill from the local bridge:
generate-openclaw-skill \
--bridge-url http://127.0.0.1:8787 \
--out ./skill \
--skill-name my-mcp
Split tools into multiple skill directories by tool-name prefix:
generate-openclaw-skill \
--bridge-url http://127.0.0.1:8787 \
--out ./skills \
--skill-name my-mcp \
--split-by prefix
Optional discovery auth:
generate-openclaw-skill \
--bridge-url http://127.0.0.1:8787 \
--out ./skill \
--token "$MY_MCP_TOKEN"
Generated output for a single skill:
skill/
SKILL.md
scripts/
invoke.js
schema/
tools.json
Generated output for --split-by prefix:
skills/
schema/
tools.json
my-mcp-search/
SKILL.md
scripts/
invoke.js
schema/
tools.json
my-mcp-ticket/
...
The generated wrapper uses:
MY_MCP_TOKENfor the bearer tokenMY_MCP_BASE_URLfor the local bridge URL
If MY_MCP_BASE_URL is not set, the wrapper falls back to the bridge URL used during generation.
OpenClaw Configuration
Recommended skill configuration:
{
"skills": {
"entries": {
"my-mcp": {
"enabled": true,
"apiKey": "your-token-here",
"env": {
"MY_MCP_BASE_URL": "http://127.0.0.1:8787"
}
}
}
}
}
The generated SKILL.md declares:
metadata.openclaw.requires.env = ["MY_MCP_TOKEN"]metadata.openclaw.primaryEnv = "MY_MCP_TOKEN"
That lets OpenClaw inject skills.entries.<skill>.apiKey as MY_MCP_TOKEN.
MCP Server Mode
The original stdio MCP server is still available:
node dist/index.js
Environment variables:
| Variable | Required | Description |
|---|---|---|
MY_MCP_TOKEN or OPENCLAW_TOKEN |
Yes | Bearer token for the upstream remote MCP |
MY_MCP_UPSTREAM_URL or OPENCLAW_MCP_URL |
No | Upstream remote MCP endpoint URL |
Examples
A checked-in generated example lives in examples/search-docs-skill/.
The bundled print skill now also follows the wrapper-based layout:
skills/xiaobai-print/
SKILL.md
scripts/
invoke.js
schema/
tools.json
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。