mcp-think
mcp-think
A remote MCP server for structured sequential thinking, built for Cloudflare Workers.
Architecture
Cloudflare Worker exposes
/mcpover Streamable HTTP.MCP SDK v2 defines the tools.
Durable Objects + SQLite persist each sequence.
A sequence is addressed by an explicit
sequenceId; MCP protocol sessions do not carry application state.
This design follows the current Cloudflare guidance: new MCP servers use the v2/stateless handler, while application state for multi-step workflows lives behind an explicit Durable Object boundary. McpAgent is deprecated and is intentionally not used here.
Related MCP server: handoff-mcp
Tools
start_sequence
Creates a sequence and returns a sequenceId.
add_step
Adds a structured step. Use this for summaries, assumptions, evidence, hypotheses, or decisions. The server is not intended to expose or store hidden chain-of-thought.
revise_step
Creates a new revision of a previous step while preserving the original record.
get_sequence
Returns the sequence metadata and all stored steps.
finish_sequence
Stores the final conclusion and marks the sequence as completed.
reset_sequence
Deletes the stored sequence data.
Local development
npm install
npm run typecheck
npm run devThe local MCP endpoint is:
http://localhost:8787/mcpHealth check:
http://localhost:8787/healthDeploy
Authenticate Wrangler with your Cloudflare account and run:
npm run deployCloudflare will provision the SQLite-backed Durable Object from the migration in wrangler.jsonc.
Example flow
start_sequence(goal)
↓
sequenceId
↓
add_step(sequenceId, ...)
↓
add_step(sequenceId, ...)
↓
revise_step(sequenceId, stepId, ...)
↓
get_sequence(sequenceId)
↓
finish_sequence(sequenceId, conclusion)Security roadmap
The MVP intentionally has no authentication. Before exposing the endpoint publicly, add OAuth or another authentication layer and bind sequence ownership to the authenticated principal. Cloudflare's MCP guidance also recommends explicit Host/Origin validation and authentication rather than treating CORS as an auth mechanism.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceA structured problem-solving MCP server that breaks down complex tasks into sequential steps, supports iterative refinement and branching, and helps maintain context and explore alternative reasoning paths.11541MIT
- AlicenseNot gradedqualityCmaintenanceA remote MCP server that maintains project focus on a north star goal, enabling seamless handoff across chat sessions by sharing state via Cloudflare D1 SQLite.14MIT
- FlicenseAqualityCmaintenanceProvides an MCP server that decomposes complex problems into ordered, isolated reasoning contexts, yielding compressed summaries before discarding intermediate steps. Enables sequential or parallel step execution with optional verification for more reliable LLM reasoning.1
- AlicenseNot gradedqualityCmaintenanceRemote MCP server for dynamic and reflective problem-solving through structured thinking. Enables step-by-step reasoning with branching, revision tracking, and session management.110MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Cloud-hosted MCP server for durable AI memory
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/luna-agente/mcp-think'
If you have feedback or need assistance with the MCP directory API, please join our Discord server