Thanks for your interest in contributing to solidtime-mcp-server!
git clone https://github.com/SwamiRama/solidtime-mcp-server.git
cd solidtime-mcp-server
npm install# Run in dev mode (auto-recompile)
npm run dev
# Build
npm run build
# Type check
npm run typecheck
# Lint
npm run lint
# Format
npm run formatnpm run inspectorThis opens the MCP Inspector UI where you can test all tools interactively.
- Find the appropriate file in
src/tools/(or create one for a new resource) - Add the tool using
server.registerTool()with:- A unique name prefixed with
solidtime_ - Title, description, and input schema using Zod
- MCP annotations (readOnlyHint, destructiveHint, idempotentHint)
- A unique name prefixed with
- Register it in
src/server.ts - Run
npm run build && npm run lintto verify
- TypeScript strict mode
- Prettier for formatting (
npm run format) - ESLint for linting (
npm run lint) - No unnecessary comments — code should be self-explanatory
- Fork the repo and create a feature branch
- Make your changes
- Ensure
npm run build,npm run lint, andnpm run typecheckall pass - Submit a PR with a clear description of what changed and why