MCP + OpenAPI for agents #8

Closed
opened 2026-08-13 14:05:47 +01:00 by eSlider · 1 comment
Owner

Why

Agents must not depend on shebangs. PicoClaw speaks MCP / OpenAI tools.

Do

  • Generate OpenAPI + MCP from the same HTTP handlers as bin/brain/serve.go.

Test

  • Schema includes search/get/stats/audit. MCP list matches OpenAPI paths.
## Why Agents must not depend on shebangs. PicoClaw speaks MCP / OpenAI tools. ## Do - Generate OpenAPI + MCP from the same HTTP handlers as `bin/brain/serve.go`. ## Test - Schema includes search/get/stats/audit. MCP list matches OpenAPI paths.
Author
Owner

Done via GitHub https://github.com/eSlider/2dph/pull/20. GET /openapi.json and POST /mcp from the same internal/httpapi.Ops table as the handlers. Tool names match search/get/stats/audit.

Done via GitHub https://github.com/eSlider/2dph/pull/20. `GET /openapi.json` and `POST /mcp` from the same `internal/httpapi.Ops` table as the handlers. Tool names match `search`/`get`/`stats`/`audit`.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eSlider/2dph#8