Nipoppy MCP Server
An interface for the Nipoppy neuroimaging framework that enables AI agents to list files and manage clinical datasets. It facilitates interaction with neuroimaging data organized according to the Brain Imaging Data Structure (BIDS) standard.
README
Nipoppy MCP Server
A Model Context Protocol (MCP) interface for the Nipoppy neuroimaging dataset framework. This server exposes a simple tool through MCP, allowing AI agents to list files in directories.
What is Nipoppy?
Nipoppy is a lightweight framework for standardized organization and processing of neuroimaging-clinical datasets. It follows the Brain Imaging Data Structure (BIDS) standard and provides tools for managing datasets and processing pipelines.
What is MCP?
The Model Context Protocol (MCP) is a standardized protocol that allows AI applications (LLMs) to access external tools and resources through a consistent interface. This server exposes a file listing tool as an MCP tool.
Features
This MCP server provides the following tool:
list_files: List files in a given directory
Installation
Prerequisites
- Python 3.8 or higher
Install the package
# Clone the repository
git clone https://github.com/nipoppy/mcp.git
cd mcp
# Install dependencies
pip install -e .
Usage
Running the MCP Server
The server can be run in different modes depending on your use case:
1. STDIO Mode (for local desktop apps like Claude Desktop)
# Set the dataset root (optional, defaults to current directory)
export NIPOPPY_DATASET_ROOT=/path/to/your/nipoppy/dataset
# Run the server
python -m nipoppy_mcp.server
```bash
# Run the server
python -m nipoppy_mcp.server
2. Configure with Claude Desktop
Add to your Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"nipoppy": {
"command": "python",
"args": ["-m", "nipoppy_mcp.server"]
}
}
}
Using the Tool
Once connected to an MCP-compatible client, you can use natural language to list files in directories:
Example queries:
- "List files in /path/to/directory"
- "What files are in my home directory?"
Development
Running Tests
# Install development dependencies
pip install -e ".[dev]"
# Run tests
pytest
Project Structure
mcp/
├── nipoppy_mcp/
│ ├── __init__.py
│ └── server.py # Main MCP server implementation
├── tests/ # Test files
├── pyproject.toml # Project configuration
└── README.md
Contributing
Contributions are welcome! This is a Brainhack 2026 project. Please feel free to submit issues and pull requests.
License
MIT License - see LICENSE file for details.
Resources
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.