thodr-mcp
v0.1.4MCP server for creating and managing Thodr mock API projects and routes from an AI IDE
No Docker. No CLI. No local mock server setup. Create a project → add endpoints → get a live URL. Done. 🔗 thodr.com · 📖 Docs · 🎮 Demo · 🐦 @thodrapp Thodr is a hosted platform for creating, managing, and sharing mock APIs.
Summary extracted from the README.
t/hodr — Examples & Templates
Mock APIs that just work.
No Docker. No CLI. No local mock server setup.
Create a project → add endpoints → get a live URL. Done.
🔗 thodr.com · 📖 Docs · 🎮 Demo · 🐦 @thodrapp
What is Thodr?
Thodr is a hosted platform for creating, managing, and sharing mock APIs.
You get a stable, shareable URL like:
https://thodr.com/mock/your-project/users/42
That works immediately — share it with your team, plug it into CI, or use it in staging. No infrastructure to manage.
Core capabilities
- Instant hosted endpoints — live URL in minutes
- OpenAPI import — paste a spec, auto-generate all endpoints
- Contract testing — auto-detect upstream API breaking changes
- Scenario switching — toggle between success, error, timeout responses
- Request logs — every request captured with headers, body, latency
- Environment isolation — dev, staging, QA under one project
- Team workspaces — invite members, share projects, collaborate
- API key protection — restrict access to mock endpoints
- Webhook forwarding — forward requests to real upstream URLs
- Response templating — dynamic responses with path/query variables
- Delay simulation — artificial latency for timeout testing
- CI/CD integration — fail builds on contract violations
Why Thodr exists
Frontend and integration work is constantly blocked by:
- Backend APIs that aren't ready yet
- Third-party APIs that are unstable or rate-limited
- Staging environments that break unpredictably
- Local mock servers that drift out of sync
Thodr removes these blockers. One hosted URL, always available, always stable.
Quickstart
1. Sign up at thodr.com
2. Create a project → you get a base URL instantly
3. Add an endpoint (or import an OpenAPI spec)
4. Copy the mock URL → start testing immediately
No installation. No config files. No Docker. No CLI.
What's in this repository
This repo contains examples, templates, and OpenAPI specs you can import directly into Thodr.
thodr-examples/
├── openapi/ # OpenAPI specs ready to import
│ ├── ecommerce-api.yaml
│ ├── auth-api.yaml
│ ├── payments-api.yaml
│ └── stripe-webhook-mock.yaml
├── examples/ # Endpoint configuration examples
│ ├── ecommerce-api/
│ ├── auth-api/
│ ├── payments-api/
│ └── webhook-api/
├── postman/ # (coming soon) Postman collections
├── curl-examples/ # Copy-paste curl commands
│ ├── auth.md
│ ├── contract-testing.md
│ ├── dynamic-matching.md
│ ├── payments.md
│ ├── proxy-forwarding.md
│ ├── scenarios.md
│ ├── stripe-mock.md
│ └── templating.md
└── screenshots/ # Real product screenshots
├── dashboard.jpeg
├── logs.jpeg
├── playground.jpeg
└── openapi-import.jpeg
OpenAPI specs
Import any of these specs into Thodr to instantly generate a full mock API:
| Spec | Endpoints | Use case |
|---|---|---|
| ecommerce-api.yaml | 12 | Products, orders, cart, users |
| auth-api.yaml | 8 | Register, login, refresh, verify |
| payments-api.yaml | 9 | Charges, refunds, customers |
| stripe-webhook-mock.yaml | 5 | Webhook event simulation |
How to import
- Go to your Thodr project → click Import
- Paste the raw YAML content (or upload the file)
- Thodr generates all endpoints with realistic response bodies
- Your mock API is live immediately
Try a live endpoint right now
No signup needed — Thodr hosts a public, read-only demo mock you can call immediately:
curl https://thodr.com/mock/demo-public/users
You'll get back a real JSON response from a live Thodr mock endpoint. This is the same endpoint powering the "Run" demo on thodr.com.
curl examples
Once you've created your own project, test any Thodr mock endpoint directly
(replace your-project with your project slug):
# Get a user
curl https://thodr.com/mock/your-project/users/42
# Create an order
curl -X POST https://thodr.com/mock/your-project/orders \
-H "Content-Type: application/json" \
-d '{"product_id": "prod_123", "quantity": 2}'
# Simulate an error (with scenario switching)
curl https://thodr.com/mock/your-project/users/999
# → 404 Not Found (if scenario is configured)
See curl-examples/ for more.
See it in action
▶️ Try the interactive demo at thodr.com/demo — explore how Thodr works with an interactive example, no signup required.
Use it from your AI editor (MCP)
Ask Cursor, Claude Desktop, Antigravity, or any MCP-compatible editor to build
a mock and get a live URL back — no dashboard needed. Thodr's MCP
server, thodr-mcp, wires your editor
to your Thodr account.
Create a Personal Access Token (Settings → Access Tokens in the web app), then add this to your editor's MCP config.
Requires uv (it provides the
uvxcommand).
{
"mcpServers": {
"thodr": {
"command": "uvx",
"args": ["thodr-mcp"],
"env": {
"THODR_API_URL": "https://thodr.com/api",
"THODR_TOKEN": "thodr_pat_xxxxxxxxxxxxxxxxxxxx"
}
}
}
}
Now ask: "create a Thodr project with a GET /users endpoint that returns a sample user" — and you get a live mock URL back, ready to hit.
Full setup guide, tools, and troubleshooting: thodr.com/docs/mcp
Key differentiators
| Thodr | Local mock servers | Postman mocks | |
|---|---|---|---|
| Setup time | Minutes | 10–30 minutes | 5 minutes |
| Infrastructure | None (hosted) | Docker/Node required | Postman account |
| Stable URLs | ✅ Persistent | ❌ Changes on restart | ✅ But rate-limited |
| Team sharing | ✅ Built-in | ❌ Manual | ✅ But workspace-locked |
| Request logs | ✅ Built-in | ❌ DIY | ⚠️ Limited |
| Scenarios | ✅ Per-endpoint | ❌ Code changes | ⚠️ Limited |
| Contract testing | ✅ Built-in | ❌ Not available | ⚠️ Separate tool |
| OpenAPI import | ✅ One-click | ⚠️ Varies | ✅ |
| Environments | ✅ Built-in | ❌ Manual | ❌ |
| CI/CD ready | ✅ API + alerts | ❌ DIY | ✅ Newman |
Links
- Website — thodr.com
- Interactive demo — thodr.com/demo
- Documentation — thodr.com/docs/getting-started
- MCP server — thodr-mcp on PyPI
- MCP setup guide — thodr.com/docs/mcp
- Pricing — thodr.com
- Changelog — thodr.com/changelog
- Status — thodr.com/status
- Developer tools — thodr.com/tools
License
MIT — use these examples however you want.
