This guide will help you get started with the Nipoppy MCP Server quickly.
# Clone the repository
git clone https://github.com/nipoppy/mcp.git
cd mcp
# Install the package
pip install -e .# Run the server
python -m nipoppy_mcp.serverAdd this to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"nipoppy": {
"command": "python",
"args": ["-m", "nipoppy_mcp.server"]
}
}
}Once connected to an MCP client, you can list files in directories:
- "List files in /home/user/documents"
- "What files are in /tmp?"
The list_files tool takes a directory path and returns a list of file names (not subdirectories).
Query: "List files in /home/user/data"
- Uses:
list_files - Returns: List of file names in the directory
- Read the full README.md for detailed information
- Run the test suite:
pytest tests/ - Explore the Nipoppy documentation
For issues or questions:
- Open an issue on GitHub
- Check the Nipoppy documentation
- Review the MCP documentation