sprout-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
sprout-mcp
MCP server that provides a static, queryable reference library for the Sprout.ph API (HR, Payroll, Ecosystem Integration). Internal developers use it to look up endpoints, parameters, and auth requirements without leaving their AI assistant.
How it works
npm run fetch-docspulls the full Postman collection JSON from the Sprout API docs site and writes structured JSON files per API section tosrc/data/The MCP server reads those files at startup and registers one tool per section
list_librarygives the agent a table of contents; domain tools (e.g.get_full_access_api_employee_service_ref) return the full endpoint reference for a section
No browser or Playwright required — the docs site is a Postman Documenter page that exposes its collection via a public JSON API.
Related MCP server: grok-api-mcp
Setup
1. Install dependencies
npm install2. Configure environment
Create a .env file in the project root:
PORT=34563. Fetch the Sprout API docs
npm run fetch-docsThis populates src/data/ with one JSON file per API section plus an _index.json manifest. Re-run whenever Sprout updates their docs.
4. Start the MCP server
npm run dev # development (tsx, no build step)
npm start # production (requires npm run build first)5. Connect your MCP client
Add to Claude Code settings or Claude Desktop config:
{
"mcpServers": {
"sprout-api": {
"type": "http",
"url": "http://localhost:3456/mcp"
}
}
}Available tools
Tool | Description |
| Returns a table of contents of all available API sections |
| Authorization Service — token endpoints |
| Full-Access API — Employee Service (52 endpoints) |
| Full-Access API — HR General Service (18 endpoints) |
| Full-Access API — Time and Attendance Service (49 endpoints) |
| Full-Access API — Payroll Service (20 endpoints) |
| Restricted Access API — Employee Service (51 endpoints) |
| Restricted Access API — Time and Attendance Service (49 endpoints) |
| Restricted Access API — HR General Service (17 endpoints) |
| Restricted Access API — Payroll Service (20 endpoints) |
All API calls require the Ocp-Apim-Subscription-Key header with your assigned key.
Development
npm run dev # run server via tsx (reads .env)
npm test # run unit tests
npm run test:watch # watch mode
npm run build # compile TypeScript to dist/Refreshing docs
When Sprout updates their API documentation:
npm run fetch-docsThe fetcher overwrites all files in src/data/ and regenerates _index.json. No code changes needed — new sections are picked up automatically on next server start.
Project structure
sprout-mcp/
├── scripts/
│ ├── fetch-docs.ts # Postman collection JSON fetcher
│ └── diagnose.ts # DOM diagnostic tool (debug helper)
├── src/
│ ├── server.ts # MCP server entry point
│ ├── tools/
│ │ ├── types.ts # Shared interfaces
│ │ ├── list-library.ts # list_library tool
│ │ └── registry.ts # Dynamic tool registration + endpoint formatter
│ └── data/ # Generated by fetch-docs — not committed to git
│ ├── _index.json
│ └── *.json
└── tests/
├── list-library.test.ts
└── registry.test.tsThis server cannot be deployed
Maintenance
Related MCP Connectors
Read-only MCP server over the developer docs for the portfolio's JSON API, MCP, A2A and NLWeb.
MCP server for querying Forkast documentation
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
MCP server for AI access to Swagger by SmartBear.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that crawls API documentation websites and exposes their content to AI models, enabling them to search, browse, and reference API specifications.1MIT
- FlicenseNot gradedqualityCmaintenanceAn MCP server that provides comprehensive xAI/Grok API documentation, allowing AI assistants to search bundled guides, fetch live documentation, and browse API endpoints or model specifications.13-
- AlicenseBqualityDmaintenanceA read-only MCP server that provides searchable access to the Shelby documentation bundle for MCP-compatible clients. It enables users to search, list, and read documentation pages directly within AI tools and IDEs.4MIT
- AlicenseAqualityDmaintenanceAn MCP server that serves documentation and enables AI-powered search, Q\&A, and document analysis for developer tools and guides.54MIT