Skip to content

Create an MCP server for ZetaChain docs #582

@fadeev

Description

@fadeev

Using Mastra as an example of how an MCP server can be built.

import { FastMCP } from 'tylerbarnes-fastmcp-fix';

const server = new FastMCP({
  name: 'Mastra Documentation Server',
  version: "1.0.0"
});

server.addTool(docsTool);

export { server };

Docs tool:

https://github.com/mastra-ai/mastra/blob/6bea86da52314a6465734d49ab58feb099955d70/packages/mcp-docs-server/src/tools/docs.ts

We can just generate all of this when we make a docs release, it will automatically publish @zetachain/docs on npm, which will contain an MCP server that can be installed into Cursor, for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions