Tool tree
Build MCP servers in TypeScript with file-based tools, Zod validation, authentication integrations, and HTTP or STDIO transports. Start with xmcp.
Implementation
gradeNot graded
gradeNot graded
page: Every page
search_docsAnswer
Full-text search across the xmcp documentation. Returns a ranked list of matching pages with their titles and URLs. Use get_doc to read a result.
View tool JSON
{
"name": "search_docs",
"kind": "answer",
"impl": "imperative",
"description": "Full-text search across the xmcp documentation. Returns a ranked list of matching pages with their titles and URLs. Use get_doc to read a result.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search terms, e.g. 'http transport' or 'api key auth'."
}
},
"required": [
"query"
],
"additionalProperties": false
},
"page": "/"
}get_docAnswer
Fetch the full Markdown of a docs page. Pass a docs path like 'core-concepts/tools' or '/docs/core-concepts/tools'. Omit `path` for the documentation index.
View tool JSON
{
"name": "get_doc",
"kind": "answer",
"impl": "imperative",
"description": "Fetch the full Markdown of a docs page. Pass a docs path like 'core-concepts/tools' or '/docs/core-concepts/tools'. Omit `path` for the documentation index.",
"inputSchema": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Docs page path (slug). A leading '/docs/' is optional. Empty for the index."
}
},
"additionalProperties": false
},
"page": "/"
}navigateAction
Navigate the current browser tab to a same-origin path on the xmcp site, e.g. '/docs/core-concepts/tools' or '/templates'. Only same-origin paths are allowed.
View tool JSON
{
"name": "navigate",
"kind": "act",
"impl": "imperative",
"description": "Navigate the current browser tab to a same-origin path on the xmcp site, e.g. '/docs/core-concepts/tools' or '/templates'. Only same-origin paths are allowed.",
"inputSchema": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Same-origin path beginning with '/'. External URLs are rejected."
}
},
"required": [
"path"
],
"additionalProperties": false
},
"page": "/"
}