Expand description
MCP (Model Context Protocol) server for Tuitbot.
Exposes Tuitbot operations as structured MCP tools over stdio transport, allowing AI agents to natively discover and call analytics, approval queue, content generation, scoring, and configuration operations.
Six runtime profiles are available:
readonly: minimal read-only X tools (10). No DB, no LLM, no mutations.api-readonly: broader read-only X tools (20). No DB, no LLM, no mutations.write(default): standard operating profile. All typed tools including mutations.admin: superset of write. Adds universal request tools. Explicit opt-in.utility-readonly: flat toolkit surface — stateless reads + scoring + config. No workflow.utility-write: flat toolkit surface — reads + writes + engages. No workflow, no policy gate.
Modules§
- contract
- Contract layer: protocol-level types reusable by any MCP consumer.
- spec
- X API spec pack and tool generator.
Structs§
- Profile
Manifest - Profile-specific manifest with version metadata and filtered tool list.
Enums§
- Profile
- MCP server runtime profile.
Functions§
- generate_
profile_ manifest - Generate a profile-specific manifest with version metadata.
- run_
server - Run the MCP server with the specified profile.