Get the FREE Ultimate OpenClaw Setup Guide →

experimental-ext-grouping

About experimental exploration of organization for MCP primitives. Maintained by the Primitive Grouping Interest Group.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio modelcontextprotocol-experimental-ext-grouping node path/to/server.js \
  --env EXPERIMENTAL_GROUPING="true"

How to use

This MCP server repository focuses on experimenting with Primitive Grouping for MCP primitives (Tools, Resources, Prompts, Tasks) and how they can be organized beyond flat lists. It provides a reference framework, documentation, and experimental findings to help servers and clients evaluate grouping patterns and their impact on context size, discoverability, and developer experience. To use the tools and findings, start by reviewing the Problem Statement, Use Cases, Approaches, and Experimental Findings documents to understand the explored patterns and the rationale behind grouping primitives. The repository sections are designed to help contributors compare approaches and track ongoing experiments, so you can pull relevant patterns into your own MCP server or client integration.

The available materials emphasize evaluating how grouping affects discovery and contextual management. You can study the documented conventions, read experimental results, and participate in discussions or contribute your own experiments. While this is experimental and not a formal MCP specification, it serves as a reference for how teams might prototype and assess grouping strategies before integrating them into production systems.

How to install

Prerequisites:

  • Git
  • Node.js (recommended if you follow the provided mcp_config using a Node-based runner). If you intend to use a different runtime, adapt the steps accordingly (e.g., Python/uv or Docker).

Step-by-step installation:

  1. Clone the repository
git clone https://github.com/your-org/modelcontextprotocol-experimental-ext-grouping.git
cd modelcontextprotocol-experimental-ext-grouping
  1. Install dependencies (adjust if there is a different runtime in use)
# If a package.json exists
npm install
# If a Python environment is expected, use a requirements file instead
# python -m venv venv
# source venv/bin/activate
# pip install -r requirements.txt
  1. Configure environment variables as needed (example)
export EXPERIMENTAL_GROUPING=true
  1. Run the server (adjust to your runtime)
# Node.js example
node path/to/server.js
# Or if a docker setup exists
# docker run -i your-image-name
  1. Verify the server is reachable and consult the docs in docs/ for available endpoints and utilities.

Additional notes

Notes and tips:

  • This project is experimental and intended for exploration. Treat patterns as reference implementations rather than official MCP specifications.
  • Review the documented sections (Problem Statement, Use Cases, Approaches, Experimental Findings) to understand trade-offs in grouping primitives.
  • Ensure you set any required environment variables as described in the repository docs or your local testing environment.
  • If you adapt the experiments to your own MCP server, keep a changelog of what grouping pattern you tested and the observed effects on context size and discoverability.
Sponsor this space

Reach thousands of developers