The protocols.io MCP server enables Claude Desktop and other MCP clients to interact with protocols.io, a platform for sharing scientific protocols and methods. This integration allows you to search, retrieve, create, and manage scientific protocols directly through your MCP client.
docker run -d -p 8000:8000 -e PROTOCOLS_IO_CLIENT_ACCESS_TOKEN="your_access_token_here" --name protocols-io-mcp --restart always ghcr.io/hqn21/protocols-io-mcp:latest
pip install protocols-io-mcp
Before using the server, you need to set up your protocols.io API access token:
export PROTOCOLS_IO_CLIENT_ACCESS_TOKEN="your_client_access_token"
# Default: stdio transport (recommended for MCP clients)
protocols-io-mcp
# HTTP transport
protocols-io-mcp --transport http --host 127.0.0.1 --port 8000
# Server-Sent Events transport
protocols-io-mcp --transport sse --host 127.0.0.1 --port 8000
Usage: protocols-io-mcp [OPTIONS]
Run the protocols.io MCP server.
Options:
--transport [stdio|http|sse] Transport protocol to use [default: stdio]
--host TEXT Host to bind to when using http and sse
transport [default: 127.0.0.1]
--port INTEGER Port to bind to when using http and sse
transport [default: 8000]
--help Show this message and exit.
To connect this server with Claude Desktop:
claude_desktop_config.json
:{
"mcpServers": {
"protocols-io": {
"command": "protocols-io-mcp",
"env": {
"PROTOCOLS_IO_CLIENT_ACCESS_TOKEN": "your_client_access_token"
}
}
}
}
The MCP server provides several tools that Claude can access:
search_public_protocols
- Search for public protocols by keywordget_protocol
- Get basic protocol information by IDget_protocol_steps
- Get detailed steps for a specific protocolget_my_protocols
- Retrieve all protocols from your accountcreate_protocol
- Create a new protocol with title and descriptionupdate_protocol_title
- Update the title of an existing protocolupdate_protocol_description
- Update the description of an existing protocolset_protocol_steps
- Replace all steps in a protocoladd_protocol_step
- Add a single step to the end of a protocoldelete_protocol_step
- Delete a specific step from a protocolThis error means Claude Desktop cannot find the protocols-io-mcp
command. To fix it:
which protocols-io-mcp
{
"mcpServers": {
"protocols-io": {
"command": "/full/path/to/protocols-io-mcp",
"env": {
"PROTOCOLS_IO_CLIENT_ACCESS_TOKEN": "your_client_access_token"
}
}
}
}
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "protocols-io" '{"command":"protocols-io-mcp","env":{"PROTOCOLS_IO_CLIENT_ACCESS_TOKEN":"your_client_access_token"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"protocols-io": {
"command": "protocols-io-mcp",
"env": {
"PROTOCOLS_IO_CLIENT_ACCESS_TOKEN": "your_client_access_token"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"protocols-io": {
"command": "protocols-io-mcp",
"env": {
"PROTOCOLS_IO_CLIENT_ACCESS_TOKEN": "your_client_access_token"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect