Unreasonable Thinking Serverのロゴ

Unreasonable Thinking Server

コミュニティ
stagsz

An MCP server for unconventional and boundary-breaking problem-solving through an advanced note-taking system.

公開者stagsz
リポジトリUnconventional-thinking
言語JavaScript
フォーク
7
スター
30
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Unreasonable Thinking Serverは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには30件のスターと7件のフォークがあります。

Unconventional Thinking Server (v0.3.0)

A context-efficient MCP server for bold, unconventional, and boundary-breaking problem-solving.

This is a TypeScript-based MCP server that implements an unconventional thinking system optimized for context space savings based on Anthropic's latest MCP architecture patterns. It generates and tracks creative solutions to problems while maintaining efficiency.

MCP spec 2025-11-25 compliant — uses @modelcontextprotocol/sdk v1.27.1 with tool title, annotations, outputSchema, structuredContent responses, and resource_link content type.

Architecture: Context-Saving Design

This server demonstrates Anthropic's recommended patterns for reducing context overhead by 98.7%:

Key Context-Saving Features

  1. Resources API for On-Demand Data Loading

    • Thought content is stored as resources (thought://id)
    • Claude loads full content only when explicitly needed
    • Metadata is returned by default, saving tokens
  2. Server-Side Filtering

    • search_thoughts filters data locally instead of passing unfiltered sets to Claude
    • Only matching results returned, not entire dataset
    • Reduces context consumption by filtering at the source
  3. Metadata-First Returns

    • Tools return only essential metadata + resource URIs
    • Full thought content accessible via Resources API
    • Claude decides whether to fetch full content based on need
  4. Persistent File-Based Storage

    • Data persists in .thoughts/ directory
    • No in-memory bloat accumulating across sessions
    • Easy to inspect and debug thoughts locally

Features

Tools (All Context-Efficient, MCP spec 2025-11-25)

Each tool now includes:

  • title — human-readable display name shown in client UIs
  • annotations — behaviour hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint)
  • outputSchema — JSON Schema describing the structured result
  • structuredContent in responses — machine-readable output conforming to the schema
  • resource_link content items — explicit links clients can subscribe to or fetch

  • generate_unreasonable_thought — Generate new unconventional thoughts

    • Returns resource_link + structuredContent, not raw text blobs
    • Can build upon or rebel against previous thoughts
    • Full thought content available via Resources API
  • branch_thought — Create new branches of thinking

    • Supports directions: more_extreme, opposite, tangential (now enum-typed)
    • Returns resource_link + structuredContent for the new branch
  • search_thoughts — Efficient metadata search

    • Filters by branchId, isRebellion, challengesAssumption
    • Returns structuredContent with typed count + thoughts array
    • Includes limit parameter to control result size

Resources (On-Demand Content Loading)

  • Each thought available as a resource: thought://[thoughtId]
  • Metadata includes: isRebellion, challengesAssumption, timestamp, branch info
  • Full thought content loaded only when Claude explicitly requests it
  • Dramatically reduces token usage when many thoughts exist

How This Implements Context Efficiency

1. Progressive Disclosure

Claude doesn't need the full content of 100 thoughts upfront. Instead:

  • search_thoughts returns just IDs and metadata (100 bytes per thought)
  • Claude selectively fetches full content via Resources API for relevant thoughts
  • Similar to how filesystems work: list files, then open specific files

2. Server-Side Filtering

Traditional approach (❌ inefficient):

All 1000 thoughts → Claude → Claude filters → Uses only 10
(costs tokens for all 1000)

This server (✅ efficient):

search_thoughts filter params → Server filters locally → Returns only 10 results
(Claude never sees the unused 990)

3. Metadata-First Pattern

Tool responses contain:

  • Thought ID
  • Resource URI to access full content
  • Brief metadata (2-3 KB each)
  • NOT the full 500-character thought (saves ~5KB per thought)

Example savings: With 100 thoughts:

  • Old way: 500KB context usage
  • New way: ~30KB + fetch only what's needed

Development

Install dependencies:

bash
npm install

Build the server:

bash
npm run build

For development with auto-rebuild:

bash
npm run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

json
{
  "mcpServers": {
    "unconventional-thinking": {
      "command": "/path/to/unconventional-thinking/build/index.js"
    }
  }
}

Usage Example

Claude: Generate an unreasonable thought about scaling problems
→ Tool: generate_unreasonable_thought("scaling problems")
← Returns: resource_link (thought://...) + structuredContent { thoughtId, isRebellion, ... }

Claude: What are all the rebellious thoughts?
→ Tool: search_thoughts(isRebellion=true, limit=5)
← Returns: structuredContent { count, thoughts: [...metadata] }

Claude: I need to see the full content of thought_xyz
→ Resource: Read thought://thought_xyz
← Returns: Full thought content (loaded only when needed)

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

bash
npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

References

This server implements patterns from:

インストール

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "stagsz-unconventional-thinking": {
      "command": "",
      "args": []
    }
  }
}

Unreasonable Thinking ServerのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Unreasonable Thinking Serverに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Unreasonable Thinking Serverをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Unreasonable Thinking ServerのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "stagsz-unconventional-thinking": {
      "command": "npx",
      "args": [
        "-y",
        "unreasnable-thinker-server"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてUnreasonable Thinking ServerのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Unreasonable Thinking ServerのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Unreasonable Thinking Serverを使ってこのタスクを手伝ってもらえますか?
Unreasonable Thinking Server
はい、読みました。
Unreasonable Thinking Serverで調べた結果をお伝えします。

よくある質問

Unreasonable Thinking Server MCPサーバーは何に使いますか?

Unreasonable Thinking Serverは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでUnreasonable Thinking Server MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでUnreasonable Thinking Serverを利用できます。

TypingMindでUnreasonable Thinking Server MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Unreasonable Thinking Serverを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Unreasonable Thinking Server MCPをTypingMindに接続するにはどうすればよいですか?

Unreasonable Thinking ServerはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでUnreasonable Thinking Server MCPのどのようなツールを利用できますか?

Unreasonable Thinking ServerはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Unreasonable Thinking Server MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Unreasonable Thinking Serverで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇