DevSwatDevSwat

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_project to get a real fixed-price estimate, then submit_project to 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_consultation starts 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 version 2024-11-05
  • Auth: OAuth 2.1 with PKCE (S256) and dynamic client registration (RFC 7591), scope read. Unauthenticated calls return 401 with a WWW-Authenticate header 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_services
  • scope_project
  • submit_project
  • list_my_projects
  • get_project_status
  • send_project_message
  • list_project_messages
  • request_project_addon
  • open_ticket
  • list_my_tickets
  • get_ticket_thread
  • reply_ticket
  • list_available_slots
  • book_slot
  • book_consultation
  • get_my_freelancer_status
  • list_my_offers
  • accept_offer
  • reject_offer
  • post_workspace_update
  • request_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_code grant 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 quotation
  • POST /api/gpt/submit — hand an accepted quote to the website for sign-in and payment
  • GET /api/gpt/projects — projects for a user
  • POST /api/gpt/ticket — open a support ticket
  • POST /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].