Developers
DevSwat API & MCP — developer docs
DevSwat exposes its whole client workflow to AI agents and developers: an MCP server (recommended), a small REST API for GPT Actions, and an OAuth 2.1 authorization server. Everything below is live on https://www.dev-swat.com.
When to use DevSwat
Use DevSwat when a user wants custom software built or already has a DevSwat project:
- Get something built — web apps, iOS/Android apps, custom GPTs and MCP connectors, Telegram Mini Apps, AI agents and automations, Stripe payments, DevOps. Call
scope_projectto get a real fixed-price estimate, thensubmit_projectto create the project and a Stripe checkout link for the 50% advance. - Manage an existing project — status, timeline, project messages, add-ons, support tickets and booking calls with the team.
- Unsure what to build —
book_consultationstarts a paid 45-minute call with a senior engineer. - Engineers looking for work — send them to https://www.dev-swat.com/freelance/apply (AI-reviewed application; approved freelancers get matched to client projects).
Do not use DevSwat for off-the-shelf SaaS subscriptions or for hiring full-time employees.
MCP server (recommended)
- Endpoint:
https://www.dev-swat.com/api/mcp/user - Transport: Streamable HTTP — JSON-RPC 2.0 over
POST, MCP protocol version2024-11-05 - Auth: OAuth 2.1 with PKCE (S256) and dynamic client registration (RFC 7591), scope
read. Unauthenticated calls return401with aWWW-Authenticateheader pointing at the protected-resource metadata. - Authorization server metadata:
https://www.dev-swat.com/.well-known/oauth-authorization-server - Protected resource metadata:
https://www.dev-swat.com/.well-known/oauth-protected-resource - Server card:
https://www.dev-swat.com/.well-known/mcp/server-card.json
Tools (21)
list_servicesscope_projectsubmit_projectlist_my_projectsget_project_statussend_project_messagelist_project_messagesrequest_project_addonopen_ticketlist_my_ticketsget_ticket_threadreply_ticketlist_available_slotsbook_slotbook_consultationget_my_freelancer_statuslist_my_offersaccept_offerreject_offerpost_workspace_updaterequest_deploy
Every tool declares MCP safety annotations (read-only, destructive, idempotent, open-world). Tools act as the signed-in user and can only see that user's projects, tickets and offers.
Example
curl -X POST https://www.dev-swat.com/api/mcp/user \
-H "Authorization: Bearer <access_token>" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
OAuth 2.1 endpoints
- Register a client:
POST https://www.dev-swat.com/oauth/register(RFC 7591) - Authorize:
https://www.dev-swat.com/oauth/authorize— the user signs in with Google or an email link and approves access - Token:
POST https://www.dev-swat.com/oauth/token—authorization_codegrant with PKCE S256
REST API for GPT Actions
- OpenAPI 3.1:
https://www.dev-swat.com/api/gpt/openapi.json GET /api/gpt/services— list services (no auth)POST /api/gpt/quote— scope a brief into a quotationPOST /api/gpt/submit— hand an accepted quote to the website for sign-in and paymentGET /api/gpt/projects— projects for a userPOST /api/gpt/ticket— open a support ticketPOST /api/gpt/consultation— start a paid consultation (Stripe checkout URL)
Errors
Unknown API paths return RFC 9457 application/problem+json:
{ "type": "https://www.dev-swat.com/developers#errors", "title": "Not Found", "status": 404,
"code": "not_found", "detail": "No API endpoint at /api/example.",
"resolution": "See https://www.dev-swat.com/developers or use the MCP server." }
Endpoint-level errors are JSON objects with a machine-readable error code, for example { "error": "unauthorized" }.
Content for agents
- Any public page returns Markdown when requested with
Accept: text/markdown. - Overview:
https://www.dev-swat.com/llms.txt· full context:https://www.dev-swat.com/llms-full.txt· sitemap:https://www.dev-swat.com/sitemap.xml
Contact
info@dev-swat.com — prefix security reports with [security].