Thanks for your interest in contributing! This guide covers everything you need to get started.
- Node.js >= 22.0.0
- pnpm 10.5.2+ (the repo uses
packageManagerto enforce this)
# Clone the repository
git clone https://github.com/speakeasy-api/docs-mcp.git
cd docs-mcp
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Run tests
pnpm testThis is a Turborepo monorepo with the following packages:
| Package | Description |
|---|---|
packages/core |
Core indexing, chunking, and search engine |
packages/server |
MCP server runtime (stdio and HTTP transports) |
packages/cli |
CLI for manifest bootstrapping and index building |
packages/eval |
Evaluation and benchmarking harness |
packages/playground |
Interactive web playground |
pnpm build # Build all packages (uses Turbo caching)
pnpm typecheck # Type-check without emitting
pnpm lint # Run ESLint across all packagespnpm test # Run all testsTests use Vitest. Each package has its own test/ directory.
The project includes mise tasks for common workflows:
mise run serve:http # Start HTTP MCP server on port 20310
mise run playground # Start the interactive playground
mise run inspect:http # Open MCP Inspector- Fork the repository and create a feature branch from
main. - Make your changes, ensuring
pnpm build,pnpm test, andpnpm lintall pass. - Write clear, concise commit messages.
- Open a pull request against
mainwith a description of what changed and why.
Open an issue on GitHub with:
- A clear description of the problem or suggestion.
- Steps to reproduce (for bugs).
- Expected vs. actual behavior.
By submitting a pull request or otherwise contributing to this project, you agree to the following terms:
-
Grant of Rights. You grant Speakeasy API, Inc. ("Speakeasy") a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license to use, reproduce, modify, sublicense, relicense, distribute, and otherwise exploit your contributions in any form and for any purpose, including under licenses other than the AGPL-3.0.
-
Original Work. You represent that your contributions are your original work and that you have the legal right to grant this license. If your employer has rights to intellectual property you create, you represent that you have received permission to make the contribution on behalf of your employer, or that your employer has waived such rights.
-
No Obligation. You understand that Speakeasy is under no obligation to accept or include your contribution in the project.
-
Project License. This project is distributed under the AGPL-3.0 license. Your contributions will be made available under the same license unless Speakeasy exercises its right to relicense as described above.