Install the agent toolkit
To install the skill and MCP servers:- Create a dedicated key with management permissions in your API key settings. A dedicated key lets you revoke agent access without affecting inference or other tools.
-
Set it in your shell so the installer can read it:
To persist the key, add the line to your shell profile (
~/.zshrcor~/.bashrc). On Windows, runsetx BASETEN_MCP_KEY "...". -
Run these commands in a shell that exports
BASETEN_MCP_KEY. The-gflag makes the installation available to each detected agent, and-yskips confirmation prompts: - Restart your coding agent so it loads the skill and MCP configuration.
- Claude Code
- Cursor or VS Code
To confirm that the servers are connected:Run If Claude Code prompts before reading skill files, add this to
/mcp. You should see:~/.claude/settings.json:/baseten.
The backend MCP server connects to the workspace associated with its API key. To work with multiple workspaces, install additional backend server instances under different names and use a different key for each one.
Configure your agent manually
Use these instructions if the installer does not detect your agent. Add both MCP servers to your agent’s configuration, then install the skill withnpx skills add basetenlabs/baseten-skills. For a docs-only setup, add baseten_docs without an authorization header.
- Cursor
- VS Code
- Claude Code
To add the MCP servers by hand:Add this to
mcp.json:mcp.json
npx add-mcp and npx skills add also detect Codex, Antigravity, Goose, Windsurf, and other supported agents. For GUI clients such as Claude Desktop, add both server URLs in the connector settings. Any MCP-compatible agent can use the URLs above.
Next steps
Coding agents
Call Model APIs from Pi, Droid, or OpenCode, or install Baseten Switch for Claude Code, Codex CLI, or Pi.
Deploy your first model
Deploy a Hugging Face model with vLLM and the Baseten CLI.
Pull docs into an agent without MCP
Pull docs into an agent without MCP
Append 
If you cannot install the full
.md to any docs URL to open the page as Markdown. You can also use llms.txt to index the documentation or llms-full.txt to retrieve its full text. The Copy page button in the upper-right corner of each page copies the Markdown or opens it as plain text:
baseten skill, install the lightweight docs skill instead: