RuntimeAI IDE integration — MCP server and CLI for Cursor, VS Code, and Claude Code
Project description
runtimeai-ide
RuntimeAI check-rides from your editor — forecast eval cost, suggest scenarios, generate drafts, and run local rubrics via MCP or CLI.
No Vantage monorepo required. This package talks to the hosted RuntimeAI API at vantageai.cc.
Install
pip install runtimeai-ide
From GitHub:
pip install "git+https://github.com/simonbright/vantage.git#subdirectory=runtimeai-ide"
Editable install (Vantage repo contributors):
pip install -e ./runtimeai-ide
What works without OPENROUTER_API_KEY
| Tool / command | What it does |
|---|---|
suggest |
Local file/brief → library scenario id |
forecast |
Hosted cost estimate (no client key) |
generate |
Hosted scenario draft (no client key; server credits required) |
doctor |
API check + capability summary |
Requires OPENROUTER_API_KEY + vantage-core: run / runtimeai_run_checkride — live eval with pass/fail rubric.
Cursor MCP
Add to ~/.cursor/mcp.json or your project's .cursor/mcp.json:
{
"mcpServers": {
"runtimeai": {
"command": "python3",
"args": ["-m", "runtimeai_ide", "mcp"],
"env": {
"RUNTIMEAI_BASE_URL": "https://www.vantageai.cc",
"OPENROUTER_API_KEY": "${env:OPENROUTER_API_KEY}"
}
}
}
}
Or run ./scripts/install-mcp.sh from this package directory.
Restart Cursor. No PYTHONPATH needed.
CLI
runtimeai-ide doctor
runtimeai-ide suggest --file models/orders.sql
runtimeai-ide forecast --scenario de_sql_optimization_v1 --turns 8
runtimeai-ide generate --file schema.sql --brief "Fix partition filter"
runtimeai-ide run --scenario de_sql_optimization_v1 --turns 1 # needs vantage-core + OPENROUTER_API_KEY
Environment
| Variable | Default | Purpose |
|---|---|---|
RUNTIMEAI_BASE_URL |
https://www.vantageai.cc |
RuntimeAI API host |
OPENROUTER_API_KEY |
— | Live check-rides only |
RUNTIMEAI_DEFAULT_SCENARIO |
de_sql_optimization_v1 |
Default library scenario |
RUNTIMEAI_DEFAULT_MODEL |
openai/gpt-4o-mini |
Default model for runs |
MCP tools
runtimeai_suggest_scenario— map a file or brief to a library scenario (no key)runtimeai_forecast_cost— estimate per-run eval cost (no key)runtimeai_generate_scenario— draft a custom check-ride (no client key)runtimeai_run_checkride— runvantage-corelocally (key + CLI required)runtimeai_doctor— verify API + explain key requirements
Develop
cd runtimeai-ide
pip install -e ".[dev]"
pytest -q
Publish (maintainers)
chmod +x scripts/publish-pypi.sh
export TWINE_USERNAME=__token__
export TWINE_PASSWORD=pypi-…
./scripts/publish-pypi.sh
Or tag a GitHub release — CI publishes via trusted publishing.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file runtimeai_ide-0.1.0.tar.gz.
File metadata
- Download URL: runtimeai_ide-0.1.0.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c74ec72d4c5dccfe1ba9f523d8e3a865c61e8188b83553206f1f4436e74fd120
|
|
| MD5 |
fdbe91471619f5c807bdf09317e0671b
|
|
| BLAKE2b-256 |
91a606e26a8875fce6e499c366d61b1cfad199355fd946ff0c8d08cdf2123f73
|
File details
Details for the file runtimeai_ide-0.1.0-py3-none-any.whl.
File metadata
- Download URL: runtimeai_ide-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa08b58d52672d81d709c1cca465c50ef0e4e74cb3c66b1a5d1611f17c454b06
|
|
| MD5 |
cb9fd930102931aa864ff596ce7cf6b7
|
|
| BLAKE2b-256 |
2c88379bba40d99d501b33eb60245738c7a840408b7125f144a4aac15045188e
|