Ref
Helping coding agents never make mistakes working with public or private libraries without wasting the context window.
MCP configuration
Copy into a client that accepts mcpServers JSON. Other clients may use a different configuration format.
{
"mcpServers": {
"Ref": {
"command": "npx",
"args": [
"ref-tools-mcp@latest"
],
"env": {
"REF_API_KEY": "YOUR_API_KEY"
}
}
}
}Use this in your own environment. Copying text here does not run it.
How to use it
- Open the listing page and read the server's documentation.
- Copy the configuration or command into your MCP client.
- Restart the client and try one of the server's tools.