MCP generator

Generate a Grok Bot MCP server.

A Grok Bot connector needs a public HTTPS MCP server and a tight tool allowlist. Sourced generates the MCP package, the Grok install files, and the review report from the same OpenAPI input.

01Details

Inputs

01

OpenAPI 3.0 or 3.1 in YAML or JSON.

02

Optional hosted MCP URL if you already deployed the generated server.

03

A direct download with the generated files, plus deploy guidance for your own GitHub repo or host.

04

API auth metadata from the OpenAPI security schemes.

02Outputs

Outputs

01

connector.grok.json for reviewable remote MCP configuration.

02

connector.grok.xai-sdk.py for xAI's native SDK shape.

03

connector.grok.openai-sdk.py for the OpenAI-compatible xAI Responses API shape.

04

connector.grok.curl.sh for a raw HTTP smoke test.

05

agent-readiness.md and harness tests so the owner can see what is safe before publishing.

03Details

Why generation beats hand-writing

01

Tool names stay tied to operationId instead of drift-prone docs copy.

02

Path, query, and body inputs come from the OpenAPI schema.

03

Sensitive reads and destructive operations are flagged before they are exposed.

04

Regeneration catches OpenAPI drift every time the API changes.

04Details

What is not automated yet

01

Sourced does not open PRs against xAI repositories.

02

Sourced does not enable every tool by default for Grok.

03

Hosted remote MCP must be on a public HTTPS URL; Sourced shows the exact blocker until that exists.

04

OAuth consent, callback URLs, token storage, and refresh behavior still need owner review before a hosted agent connector goes live.