Skip to main content
Glama
Claude Server MCP

Claude Server MCP

by davidteren

クロード・サーバー MCP

⚠️重要: プロジェクトのステータス⚠️

このプロジェクトは開発初期段階(v0.1.0)であり、本番環境での使用には適していません。現在、いくつかの重大な問題に対処するため、大幅な書き換えを行っています。現在の制限事項と計画されている改善については、問題ページをご覧ください。

重要なワークフローでこれを使用する前に、安定したリリース (v0.2.0+) を待つことをお勧めします。

Claude に高度なコンテキスト管理機能を提供し、セッション間での永続的なコンテキスト、プロジェクト固有のコンテキスト編成、会話の継続性を可能にするモデル コンテキスト プロトコル (MCP) サーバー。

現在の制限

  • 現在、サーバーはClaude Desktop以外のMCPクライアントとの互換性の問題を抱えています。

  • 特定のプロジェクトIDがないとコンテキストリスト機能が制限される

  • セキュリティ機能は最小限であり、本番環境では使用できない

  • エラー処理は基本的なものであり、役立つガイダンスを提供しない可能性があります

  • 検査インフラが整っていない

Related MCP server: Threadminder MCP

開発ロードマップ

このプロジェクトは現在も積極的に改善中です。今後の主な機能強化は以下の通りです。

  1. 安定性の向上- ホームディレクトリの解決とコンテキストリストに関するコアの問題を修正

  2. 強化されたエラー処理- 改善されたエラーメッセージと回復メカニズム

  3. セキュリティ強化- 入力検証、パスのサニタイズ、データ保護

  4. 高度なコンテキスト管理- バージョン管理、検索、そしてより良い組織化

より詳細なロードマップについては、包括的な分析ブランチを参照してください。

特徴

  • プロジェクトコンテキスト管理

    • 階層的なコンテキスト構成

    • 親子関係

    • コンテキスト間の相互参照

    • プロジェクト固有のメタデータ

  • 会話の継続性

    • セッションベースのコンテキストトラッキング

    • 会話の連鎖

    • メタデータが豊富なコンテキストストレージ

    • 柔軟なタグ付けシステム

  • 効率的なストレージ

    • 整理されたディレクトリ構造

    • JSONベースのストレージ

    • クイックルックアップインデックス

    • 非同期操作

インストール

サーバーはClaudeデスクトップアプリのMCP設定で自動的に設定されます。すべてのコンテキストは整理しやすいように~/.claude/に保存されます。

~/.claude/
├── contexts/           # General conversation contexts
├── projects/          # Project-specific contexts
└── context-index.json # Quick lookup index

ツール

プロジェクトコンテキスト管理

// Save project context
use_mcp_tool({
  server_name: "claude-server",
  tool_name: "save_project_context",
  arguments: {
    id: "feature-design-v1",
    projectId: "my-project",
    content: "Design discussion...",
    parentContextId: "requirements-v1",
    references: ["api-spec-v1"],
    tags: ["design"],
    metadata: { status: "in-progress" }
  }
});

会話管理

// Save conversation context
use_mcp_tool({
  server_name: "claude-server",
  tool_name: "save_conversation_context",
  arguments: {
    id: "chat-2024-01-01",
    sessionId: "session-123",
    content: "Discussion content...",
    continuationOf: "previous-chat-id",
    tags: ["meeting"]
  }
});

コンテキスト検索

// Get context
use_mcp_tool({
  server_name: "claude-server",
  tool_name: "get_context",
  arguments: {
    id: "feature-design-v1",
    projectId: "my-project"
  }
});

// List contexts
use_mcp_tool({
  server_name: "claude-server",
  tool_name: "list_contexts",
  arguments: {
    projectId: "my-project",
    tag: "design",
    type: "project"
  }
});

ドキュメント

発達

  1. リポジトリをクローンする

  2. 依存関係をインストールします:

    npm install
  3. サーバーを構築します。

    npm run build
  4. サーバーはbuild/index.jsに構築されます

構成

サーバーは、Claude デスクトップ アプリの構成ファイル ( ~/Library/Application Support/Claude/claude_desktop_config.jsonを通じて構成されます。

{
  "mcpServers": {
    "claude-server": {
      "command": "node",
      "args": ["/path/to/claude-server/build/index.js"]
    }
  }
}

貢献

貢献を歓迎します!問題やプルリクエストをお気軽にご提出ください。

ライセンス

マサチューセッツ工科大学

Available Tools

4 tools
get_contextC

Retrieve context by ID and optional project ID

Inputs: id (required), projectId.

list_contextsC

List contexts with filtering options

Inputs: projectId, tag, type.

save_conversation_contextC

Save conversation context with continuation support

Inputs: id (required), sessionId (required), content (required), continuationOf, +2 more.

save_project_contextC

Save project-specific context with relationships

Inputs: id (required), projectId (required), content (required), parentContextId, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: get_context retrieves a specific context, list_contexts lists contexts with filters, save_conversation_context saves conversation-specific context, and save_project_context saves project-specific context. The descriptions clearly differentiate between retrieval, listing, and two types of saving operations.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern (get_context, list_contexts, save_conversation_context, save_project_context) with clear, descriptive names. The naming convention is uniform throughout the set, making it easy to understand each tool's function at a glance.

    Tool Count4/5

    With 4 tools, the count is reasonable for a context management server, covering key operations like retrieval, listing, and saving. It feels slightly minimal but well-scoped, as each tool serves a distinct and necessary function without redundancy.

    Completeness4/5

    The tool set provides good coverage for context management with get, list, and save operations for both conversation and project contexts. A minor gap exists in update or delete functionality for contexts, but agents can likely work around this by re-saving or managing contexts through the provided tools.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides persistent context management for Claude AI coding assistants, allowing you to save and restore conversation context, create checkpoints, and organize information across sessions to prevent losing important work history and decisions during long coding sessions.
      243 npm
      136
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables persistent context management for Claude AI coding assistants by saving, searching, checkpointing, restoring, and sharing project context across sessions and parallel conversations.
      243 npm
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Provides persistent context management for Claude AI coding assistants, enabling users to save, search, checkpoint, restore, and share project context across sessions and parallel sessions. It preserves work history, decisions, and progress so coding workflows survive compaction and context limits.
      243 npm
      MIT