Protocol reference
Protocol versions, headers, discovery and OAuth endpoints.
Technical details for client developers and for checking a connection by hand.
Transport and versions
- Streamable HTTP,
POSTof JSON-RPC 2.0 messages to the endpoint URL; responses are JSON. - Stateless: no session id, no sticky routing — every request stands alone.
- Protocol 2026-07-28 (no initialize handshake; version, client info and capabilities travel in each
request's
_meta;server/discover) and 2025-11-25 (classicinitialize, then calls) on the same URL. - 2026-07-28 requests carry the headers
MCP-Protocol-Version,Mcp-Methodand — fortools/call,prompts/getandresources/read—Mcp-Namematching the body. tools/listcarries cache hints: 5 minutes,publicon the free endpoint andprivateon the workspace endpoint. Tool order is stable.- Requests are limited to 1 MB; the Host and Origin headers are checked (DNS-rebinding protection).
Capabilities
- Tools with input and output JSON Schemas and annotations (read-only, destructive, idempotent,
open-world). Results carry text content, structured content and, for files,
resource_links. - Prompts (see Prompts and views).
- MCP Apps extension (
io.modelcontextprotocol/ui) on the workspace endpoint: tools with a view have_meta.ui.resourceUri; the views areui://fe/…resources served astext/html;profile=mcp-app. - No sampling, elicitation or server-initiated requests: anything needing your confirmation is a two-step tool pair (preview → commit, start → poll), which works in every client.
Quick checks with curl
# 2026-07-28 discovery
curl -s -X POST http://fast.engineer/mcp -H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "MCP-Protocol-Version: 2026-07-28" -H "Mcp-Method: server/discover" \
-d '{"jsonrpc":"2.0","id":1,"method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}'
# 2025-11-25 call (stateless: no initialize needed for a single call)
curl -s -X POST http://fast.engineer/mcp -H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" -H "MCP-Protocol-Version: 2025-11-25" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"fe_util_convert","arguments":{"value":1,"from_unit":"hp","to_unit":"kW"}}}'
Authorization (workspace endpoint)
| Document / endpoint | URL |
|---|---|
| Protected resource metadata (RFC 9728) | http://fast.engineer/.well-known/oauth-protected-resource/mcp/workspace |
| Authorization server metadata (RFC 8414) | http://fast.engineer/.well-known/oauth-authorization-server |
| Authorize | http://fast.engineer/oauth/authorize/ |
| Token | http://fast.engineer/oauth/token/ |
| Revoke (RFC 7009) | http://fast.engineer/oauth/revoke/ |
| Dynamic client registration (RFC 7591) | http://fast.engineer/oauth/register |
- Authorization code with PKCE (
S256only); public clients (no client secret). - Client identification by Client ID Metadata Document (preferred: the
client_idis an https URL serving the client's metadata; private and loopback addresses, redirects and documents over 64 KB are refused) or by dynamic registration (rate-limited per IP;application_typerequired). - Redirect URIs must be https, or http on a loopback address (any port) for native clients. Custom URL schemes are not accepted.
- The
resourceparameter (RFC 8707) is required and must behttp://fast.engineer/mcp/workspace; tokens are audience-bound to it. - Every authorization response includes
iss(RFC 9207) so clients can detect mix-up attacks. - Authorization codes live 60 s; access tokens 60 min; refresh tokens 30 days, rotated on use with reuse detection.
- Missing permission on a tool call: HTTP 403 with
WWW-Authenticate: Bearer error="insufficient_scope", scope="…", resource_metadata="…".
Registry
The server is described for MCP registries as engineer.fast/electrical with both endpoints as remotes.