@smart-aipi/mcp
v1.2.0
Published
MCP server for Smart AIPI - manage API keys and access documentation
Readme
Smart AIPI MCP Server
MCP server for Smart AIPI — lets AI agents manage API keys, check usage, and access setup documentation.
Install
npm install -g @smart-aipi/mcpSetup
1. Get an Account Token
npm install -g smart-aipi
smart-aipi login
smart-aipi tokens create -n "MCP Token"2. Add to Your AI Tool
OpenCode
Add to your MCP config (~/.config/opencode/mcp.json):
{
"mcpServers": {
"smart-aipi": {
"command": "smart-aipi-mcp",
"env": {
"SMART_AIPI_TOKEN": "your-token-here"
}
}
}
}Cursor
Add to Cursor MCP settings:
{
"mcpServers": {
"smart-aipi": {
"command": "smart-aipi-mcp",
"env": {
"SMART_AIPI_TOKEN": "your-token-here"
}
}
}
}Cline / Other MCP Clients
Same config format — set the command to smart-aipi-mcp and pass your token via env.
Available Tools
Public (no auth required)
| Tool | Description |
|------|-------------|
| smart_aipi_docs | Get setup guides (cursor, cline, windsurf, continue, aider, opencode, codex-cli, langchain, python, nodejs, mcp, models) |
| smart_aipi_config | Get base URL and environment variable configuration |
| smart_aipi_models | List available models (use live: true for real-time list) |
Authenticated (requires SMART_AIPI_TOKEN)
| Tool | Description |
|------|-------------|
| smart_aipi_list_keys | List your API keys |
| smart_aipi_create_key | Create a new API key |
| smart_aipi_revoke_key | Revoke an API key |
| smart_aipi_usage | Check credits balance and usage history |
| smart_aipi_me | View account information |
Documentation Resources
The server also exposes MCP resources at smart-aipi://docs/{topic} for each integration guide.
Environment Variables
| Variable | Required | Description |
|----------|----------|-------------|
| SMART_AIPI_TOKEN | For authenticated tools | Your account token |
| SMART_AIPI_URL | No | Override API base URL (default: https://smartaipi.com) |
Available Models
- Codex: gpt-5.3-codex, gpt-5.2-codex, gpt-5.1-codex, gpt-5-codex + mini/max variants
- GPT-5: gpt-5.2, gpt-5.1, gpt-5
- Image: gpt-image-latest, gpt-image-1.5, gpt-image-1-mini
- Free Tier: gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, gpt-5-mini, gpt-5-nano, gpt-4o, gpt-4o-mini
Companion CLI
For account management from the terminal:
npm install -g smart-aipi
smart-aipi signup
smart-aipi keys create
smart-aipi docs cursorLicense
MIT
