Client setup
Configure the Stashbase MCP server in common MCP clients.
Use the Stashbase MCP server URL:
https://api.stashbase.dev/mcpUse an API key in the Authorization header with the Bearer scheme.
VS Code
Use this MCP server configuration in VS Code:
{
"servers": {
"stashbase": {
"type": "http",
"url": "https://api.stashbase.dev/mcp",
"headers": {
"Authorization": "Bearer ${STASHBASE_API_KEY}"
}
}
}
}Cursor
In Cursor, add this to your .cursor MCP configuration file:
{
"mcpServers": {
"stashbase": {
"type": "http",
"url": "https://api.stashbase.dev/mcp",
"headers": {
"Authorization": "Bearer ${STASHBASE_API_KEY}"
}
}
}
}Codex
In Codex, update ~/.codex/config.toml with:
[mcp_servers.stashbase]
url = "https://api.stashbase.dev/mcp"
bearer_token_env_var = "STASHBASE_API_KEY"
enabled = trueClaude Code
Add the remote HTTP MCP server:
claude mcp add --scope project --transport http stashbase https://api.stashbase.dev/mcp \
--header "Authorization: Bearer ${STASHBASE_API_KEY}"Project-scoped .mcp.json example:
{
"mcpServers": {
"stashbase": {
"type": "http",
"url": "https://api.stashbase.dev/mcp",
"headers": {
"Authorization": "Bearer ${STASHBASE_API_KEY}"
}
}
}
}