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:
- go to https://store.tangshuang.net?scope=mcp-bone
- register an account and log in
- go to https://store.tangshuang.net/product/58/entry?scope=mcp-bone to create a new App
- go to the App's
Certificatemenu page to create a new certificate - 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.
Recommend MCP Servers 💡
metabase-mcp-server
Integrates Metabase API with LLMs via MCP, acting as a bridge between analytics data and conversational AI.
@drew-goddyn/buildkite-mcp
An MCP server that integrates with Buildkite to retrieve and manage information about organizations, pipelines, builds, and jobs.
pyats-mcp-server
An MCP Server for pyATS (experimental)
@johnpapa/mcp-starwars
An MCP server that integrates with the SWAPI Star Wars API to provide access to Star Wars characters, planets, films, species, vehicles, and starships data, demonstrating MCP server interaction with external APIs.
notion_mcp
A simple MCP integration that allows Claude to read and manage a personal Notion todo list
productboard-mcp
Integrates the Productboard API into agentic workflows via MCP, providing tools to access company, component, feature, and product data.