Skip to main content

MCP server for AIND metadata

Project description

AIND Metadata access MCP server

License Code Style semantic-release: angular Interrogate Coverage Python

Setting up your desktop for installing MCP servers

  1. Downloading UV to your desktop ( Unsure about the necessity of this step but it definitely helps having the package configured locally)
  • on Mac Terminal
brew install uv

# Or, alternatively:
curl -LsSf https://astral.sh/uv/install.sh | sh
  • on Windows Powershell
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
  1. Create virtual environment with python 3.11 in IDE
conda create -n <my_env> python=3.11
conda activate <my_env>
  • Or, alternatively:
py -3.11 -m venv .venv

# Either Windows
.venv\Scripts\Activate.ps1 
# or Mac
source .venv/bin/activate 
  1. Run the following commands in your IDE terminal. The uvx command should ideally take 3 minutes to start up without errors.
pip install uv
uvx aind-metadata-mcp

The uvx command should ideally take 3 minutes to start up without errors. If all goes well, and you see the following notice - Starting MCP server 'aind_data_access' with transport 'stdio'-, you should be good for the set up in your client of choice!

Instructions for use in MCP clients

JSON Config files to add MCP servers in clients should be structured like this

{
    "mcpServers": {

    }
}

Insert the following lines into the mcpServers dictionary

"aind_data_access": {
    "command": "uvx",
    "args": ["aind-metadata-mcp"]
}

Claude Desktop App

  • Click the three lines at the top left of the screen.
  • File > Settings > Developer > Edit config

Cline in VSCode

  • Ensure that Cline is downloaded to VScode
  • Click the three stacked rectangles at the top right of the Cline window
  • Installed > Configure MCP Servers
  • Close and reopen VSCode

Github Copilot in VSCode

  • Command palette (ctr shift p)
  • Search for MCP: Add server
  • Select edit in settings.json
  • Input aind-data-access dictionary under mcp > servers
  • Close and reopen VSCode
  • In Copilot chat -> Select agent mode -> Click the three stacked rectangles to configure tools
  • In order to enable the agent to reply with context of the AIND API, you'll have to manually add the .txt files (under resources) in this repository

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aind_metadata_mcp-0.3.3.tar.gz (133.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aind_metadata_mcp-0.3.3-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file aind_metadata_mcp-0.3.3.tar.gz.

File metadata

  • Download URL: aind_metadata_mcp-0.3.3.tar.gz
  • Upload date:
  • Size: 133.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for aind_metadata_mcp-0.3.3.tar.gz
Algorithm Hash digest
SHA256 0a1000a75d7cb13c9de0fc521bd0b70867c90785b386db7cbbf61825c7a5edf8
MD5 2cd2cbb8dd6560021f676e7ce700ef4f
BLAKE2b-256 e1b3016e7db0cf0e0ec0fccc14d037eef4a9412de92308a67008d9efbc34524a

See more details on using hashes here.

File details

Details for the file aind_metadata_mcp-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for aind_metadata_mcp-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1a92a5a011a768573195378fc4bb52645695db1d49b7cea0191de1a2e15bc800
MD5 1e8cce4bbc72ee0b8ae3517ef737d212
BLAKE2b-256 d20ea4444ae97fb267c94062a7117bde72a1c133a1b910c78b38cb638461817a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page