mcp-think
mcp-think
Cloudflare Workers上で構築された、構造化された逐次思考のためのリモートMCPサーバー。
アーキテクチャ
Cloudflare Worker が
/mcpをStreamable HTTP経由で公開します。MCP SDK v2 がツールを定義します。
Durable Objects + SQLite が各シーケンスを永続化します。
シーケンスは明示的な
sequenceIdで識別されます。MCPプロトコルセッションはアプリケーション状態を保持しません。
この設計は現在のCloudflareのガイドラインに従っています。新しいMCPサーバーはv2/ステートレスハンドラーを使用し、マルチステップワークフローのアプリケーション状態は明示的なDurable Object境界の背後に置かれます。McpAgent は非推奨であり、ここでは意図的に使用されていません。
Related MCP server: handoff-mcp
ツール
start_sequence
シーケンスを作成し、sequenceId を返します。
add_step
構造化されたステップを追加します。要約、仮定、証拠、仮説、決定に使用します。このサーバーは隠れた思考過程(chain-of-thought)を公開または保存することを意図していません。
revise_step
元のレコードを保持したまま、以前のステップの新しいリビジョンを作成します。
get_sequence
シーケンスのメタデータと保存されたすべてのステップを返します。
finish_sequence
最終的な結論を保存し、シーケンスを完了としてマークします。
reset_sequence
保存されたシーケンスデータを削除します。
ローカル開発
npm install
npm run typecheck
npm run devローカルMCPエンドポイントは次のとおりです:
http://localhost:8787/mcpヘルスチェック:
http://localhost:8787/healthデプロイ
CloudflareアカウントでWranglerを認証し、次を実行します:
npm run deployCloudflareは wrangler.jsonc のマイグレーションからSQLiteを利用したDurable Objectを自動的にプロビジョニングします。
使用例
start_sequence(goal)
↓
sequenceId
↓
add_step(sequenceId, ...)
↓
add_step(sequenceId, ...)
↓
revise_step(sequenceId, stepId, ...)
↓
get_sequence(sequenceId)
↓
finish_sequence(sequenceId, conclusion)セキュリティロードマップ
MVPには意図的に認証が含まれていません。エンドポイントを公開する前に、OAuthまたはその他の認証レイヤーを追加し、シーケンスの所有権を認証済みプリンシパルにバインドしてください。CloudflareのMCPガイダンスでは、CORSを認証メカニズムとして扱うのではなく、明示的なHost/Originの検証と認証を推奨しています。
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