Skip to main content

MCP

clepit's MCP surface lets agents read and write workspaces and pages. Bearer only: any request carrying an Origin header is refused.

HostServes
https://api.clepit.com

mcp

POST/mcphttps://api.clepit.com

Invoke an MCP method

JSON-RPC 2.0 over HTTP. A request carries its revision in Mcp-Protocol-Version: 2026-07-28, or the 2025 revision a client agreed in its initialize handshake.

Auth bearerAuth

Parameters

NameInTypeDescription
Mcp-Protocol-Versionheaderstring2026-07-28, or the revision initialize answered; initialize itself carries none

Body

JSON
{
  "id": "integer",
  "jsonrpc": "2.0",
  "method": "server/discover | initialize | notifications/initialized | ping | tools/list | tools/call",
  "params?": "object"
}

Responses

200 A JSON-RPC 2.0 response object.

Try it

curl -X POST "https://api.clepit.com/mcp" \
  -H "Authorization: Bearer $BEARER_AUTH" \
  -H "Content-Type: application/json" \
  -d '{"id":0,"jsonrpc":"2.0","method":"server/discover","params":{}}'

Protocol revision

This server targets revision 2026-07-28, where every request carries its own revision and there is no session. Clients that open with an initialize handshake are served too, on revisions 2025-11-25, 2025-06-18 and 2025-03-26: initialize answers the revision the client asked for, or 2025-11-25 when it asked for one the server does not serve, and no session is issued. A request naming a revision the server does not serve is rejected with JSON-RPC error -32022, which lists the revisions it does.

Browsers are not a supported client

The allowed-origins list is deliberately empty, so any request carrying an Origin header is refused. This is a machine-to-machine surface; widening it is a security decision, not a configuration tweak.

Discovery

GET /.well-known/oauth-protected-resource/mcp stays reachable with no token at all, it is how an unauthenticated client learns where to authenticate. Its resource is https://api.clepit.com/mcp, the address a client connects to.

Every tool, resource and prompt is listed on pages generated from the server itself: MCP tools, MCP resources and MCP prompts.

Listing the tools

Bash
curl -X POST "https://api.clepit.com/mcp" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Mcp-Protocol-Version: 2026-07-28" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'