mcp-bone
MCP Bone npm package which is used to connect to MCP Bone as a MCP Server and is also used as SDK
Documentation
MCP Server of MCP Bone
What's MCP Bone?
MCP Bone is a online service that provides a set of tools for MCP. Home Page
On MCP Bone, you can register other MCP Servers, get function calling tools JSON or XML-style prompt text and later call tools easily. Read Usage
This package is a Node.js module that provides a MCP Server connect to MCP Bone. You can use it to connect to MCP Bone and get the tools JSON.
Also, you can use this package as a parser SDK to parse completion text to tool_calls.
Setup
Access Token
Get an Access Token:
1. go to https://store.tangshuang.net?scope=mcp-bone
2. register an account and log in
3. go to https://store.tangshuang.net/product/58/entry?scope=mcp-bone to create a new App
4. go to the App's `Certificate` menu page to create a new certificate
5. copy the `Access Token`
NPX
{
"mcpServers": {
"mcp-bone": {
"command": "npx",
"args": [
"-y",
"mcp-bone"
],
"env": {
"MCP_BONE_ACCESS_TOKEN": ""
}
}
}
}Parser
import {
extractAndParseToolsToJson,
extractAndParseToolsXmlToJson,
extractAndParseToolsTextToJson,
} from 'mcp-bone';
const tools = extractAndParseToolsTextToJson(text);
const tools = extractAndParseToolsXmlToJson(text);
const tools = extractAndParseToolsToJson(text);These tools are used after LLM completions whic does not support function calling to parse the text into tools JSON. If the result is an empty array, it means that the LLM did not generate any tools.
Frequently asked questions
What is mcp-bone?
mcp-bone is MCP Bone npm package which is used to connect to MCP Bone as a MCP Server and is also used as SDK
How do I install mcp-bone?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-bone open source?
Yes — it is hosted on GitHub at https://github.com/tangshuang/mcp-bone.
Related MCP tools
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others. Built for the Model Context Protocol to enhance AI capabiliti
Fay是一个帮助数字人(2.5d、3d、移动、pc、网页)或大语言模型(openai兼容、deepseek)连通业务系统的mcp框架。 JavaScript-based implementation. Trusted by 12000+ developers.
CTTF: MCP integration between Cursor and Figma, allowing Cursor Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients. JavaScript-based implementation.
This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities JavaScript-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP