cc-solutions-mcp
Finds coding challenge solutions in the CodingChallengesFYI/SharedSolutions GitHub repository, using the GitHub API to discover solution pages not linked in the README, read solution tables, and filter solutions by programming language.
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.
cc-solutions-mcp
An MCP server that lets AI coding agents find community solutions to Coding Challenges, using the Shared Solutions repository.
Built for the MCP Server coding challenge.
Features
Find challenges by full or partial name, and filter their solutions by programming language
Runs locally over stdio, or remotely over Streamable HTTP with bearer auth and rate limiting
Supports both MCP protocol versions (2026-07-28 and the older 2025 handshake)
Finds solution pages the README doesn't link, using the GitHub API
HTTP caching with ETag revalidation, retries with backoff, and a stale fallback when GitHub is down
Structured JSON logs, validated configuration, Docker image, 100+ tests
Related MCP server: @reposit-bot/reposit-mcp
Tools, resources and prompts
Tool | What it does | Example input |
| Finds challenges by full or partial name and links to their solutions |
|
| Lists one challenge's solutions in a given language |
|
| Returns |
|
Names are matched case-insensitively, and languages accept common aliases (golang, ts, node).
Resources:
challenges://indexlists every challenge;challenges://solutions/{slug}shows one challenge's solutions grouped by language (slugs autocomplete).Prompts:
find-solutionsandcompare-with-community(compares your implementation with community solutions).
Quick start
Requires Node.js 26 or later.
git clone https://github.com/Null-logic-0/cc-solutions-mcp.git
cd cc-solutions-mcp
npm install
npm run buildUse with Claude Code
claude mcp add --scope user --transport stdio cc-solutions \
-- "$(which node)" "$(pwd)/dist/index.js"
claude mcp list # should show: cc-solutions ... ✔ ConnectedThen ask Claude something like: "Show me Go solutions to the Redis server coding challenge."
Any other MCP client works too: run node dist/index.js over stdio.
Try it with MCP Inspector
npm run inspect # web UI
npx mcp-inspector --cli node src/index.ts --method tools/listRun as a remote server
MCP_TRANSPORT=http MCP_AUTH_TOKEN=$(openssl rand -hex 32) npm start
# → http://127.0.0.1:3000/mcp (health check: GET /healthz)Clients must send Authorization: Bearer <MCP_AUTH_TOKEN>. With Claude Code:
claude mcp add --transport http cc-solutions-remote http://127.0.0.1:3000/mcp \
--header "Authorization: Bearer <token>"Docker
docker build -t cc-solutions-mcp .
docker run -p 3000:3000 -e MCP_AUTH_TOKEN=<token> cc-solutions-mcpThe image runs the HTTP transport as a non-root user, with a built-in health check. When serving under a domain name, add it to ALLOWED_HOSTS (e.g. -e ALLOWED_HOSTS=mcp.example.com), and pass -e GITHUB_TOKEN=<token> to avoid GitHub's anonymous rate limit.
Configuration
All settings are environment variables, validated at startup. Invalid values stop the server with a list of every problem.
Variable | Default | Purpose |
|
|
|
| — | Bearer token, at least 32 characters (required for |
|
| HTTP listen address |
|
| Accepted |
|
| Requests per client IP per minute |
| — | Optional: raises the GitHub API limit from 60 to 5,000 requests per hour |
|
|
|
|
| Timeout per GitHub request |
|
| HTTP cache settings |
How it works
The server builds its challenge list from the Shared Solutions README, plus the GitHub API to catch pages the README doesn't link. For a language query it reads that challenge's solutions table and normalizes the free-text language column (54 spellings such as Golang/React or NodeJS(Typescript)). Responses are cached and revalidated with ETags, transient failures are retried with backoff, and if GitHub is unreachable the server falls back to the last list it loaded, marked as stale.
src/
├── index.ts entry point: config, transport (stdio or HTTP), shutdown
├── app.ts long-lived dependencies: HTTP cache and challenge catalog
├── server.ts builds an MCP server: tools, resources, prompts
├── config.ts environment variables, validated with Zod
├── tools/ MCP tools
├── resources/ MCP resources
├── prompts/ MCP prompts
├── services/ GitHub access, parsing, search, caching (no MCP code)
├── http/ HTTP transport: auth, rate limiting, request pipeline
└── lib/ errors, retries, loggingDevelopment
npm run dev # run from source
npm test # unit and integration tests
npm run check # type check, lint, format check and tests
npm run test:live # contract tests against the real GitHubLicense
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search and read public-domain code AI agents wrote: a reviewed shelf, plus opt-in community entries.
Shared knowledge cache for AI coding agents — reuse an answer once it exists.
Find AI agent skills: public previews and source links. Read-only discovery; no account required.
Search and fetch AI agent skills, rules files and MCP servers indexed from GitHub.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides instant access to a searchable knowledge base of 16,000+ community-driven troubleshooting solutions for common coding problems. Includes community feedback and smart ranking to help AI assistants find the most effective solutions.-
- AlicenseAqualityDmaintenanceEnables AI agents to search, share, and vote on community knowledge solutions via the Reposit platform.634 npm1Apache 2.0
- FlicenseNot gradedqualityDmaintenanceEnables querying a personal GitHub repository of solved LeetCode problems via natural language, including topic-based search and live retrieval of solution code with difficulty and tags.1-
- AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to discover whether anyone has shared a solution to a Coding Challenge and in which language, listing challenges and filtering solutions by language.MIT