Oblyx MCP
Officialby oblyx-ai
README.md
<p align="center">
<img src=".github/logo.svg" width="72" alt="Oblyx">
</p>
<h1 align="center">Oblyx MCP</h1>
<p align="center">
Give Claude, Cursor and any MCP app private access to every Oblyx model through one key.
</p>
<p align="center">
<img src="https://img.shields.io/badge/MCP-Streamable%20HTTP%20%2B%20stdio-8f7cf0" alt="MCP">
<img src="https://img.shields.io/badge/dependencies-0-28dcbe" alt="No dependencies">
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-lightgrey" alt="MIT"></a>
</p>
---
Ask GPT for a second opinion from inside Claude, generate an image in Cursor, or check your balance from any agent. Calls are billed to your Oblyx balance, reach the provider on a pooled key with your identity removed, and leave no prompt logs.
There are two ways to connect. Both use the same tools.
| | Hosted (recommended) | Local stdio bridge (this repo) |
| --- | --- | --- |
| For | Apps that support remote MCP servers over HTTP | Apps that only start local commands |
| Install | Nothing | Node 18+, run with `npx` |
| Address | `https://oblyx.app/mcp` | `npx -y github:oblyx-ai/oblyx-mcp` |
First, create a key in [Console → Keys](https://oblyx.app/console#/keys) and **give it a spend cap**: agents can call tools many times in a loop.
## Hosted server
### Claude Code
```sh
claude mcp add --transport http oblyx https://oblyx.app/mcp \
--header "Authorization: Bearer oblyx_..."
```
### Cursor, Claude Desktop and others
Add this to the app's MCP settings (Cursor: `~/.cursor/mcp.json`), then restart the app:
```json
{
"mcpServers": {
"oblyx": {
"url": "https://oblyx.app/mcp",
"headers": { "Authorization": "Bearer oblyx_..." }
}
}
}
```
## Local stdio bridge
For apps that can only launch a local command. The bridge is a single file with no dependencies ([`bin/oblyx-mcp.js`](bin/oblyx-mcp.js)): it passes each JSON-RPC message to `https://oblyx.app/mcp` and hands the reply back. It stores nothing and logs only errors, to stderr.
```json
{
"mcpServers": {
"oblyx": {
"command": "npx",
"args": ["-y", "github:oblyx-ai/oblyx-mcp"],
"env": { "OBLYX_API_KEY": "oblyx_..." }
}
}
}
```
Claude Desktop keeps this file at `~/Library/Application Support/Claude/claude_desktop_config.json` on macOS and `%APPDATA%\Claude\claude_desktop_config.json` on Windows.
| Variable | Use |
| --- | --- |
| `OBLYX_API_KEY` | Your key (required) |
| `OBLYX_BASE_URL` | Server address (default `https://oblyx.app`) |
## Tools
| Tool | What it does | Arguments |
| --- | --- | --- |
| `oblyx_chat` | Ask any chat model | `prompt`, optional `model`, `system`, `max_tokens` |
| `oblyx_generate_image` | Make an image; returned as image content | `prompt`, optional `model` |
| `oblyx_list_models` | List models with prices | optional `kind`: `text`, `image`, `video`, `music`, `sealed` |
| `oblyx_balance` | The balance behind the key | none |
Things to try once it is connected:
- *"Use oblyx_chat with x-ai/grok-4.7 to critique this plan, then compare its answer with yours."*
- *"List the Oblyx image models, pick the cheapest and draw a pixel-art fox."*
- *"What's my Oblyx balance?"*
## Test it with curl
```sh
curl https://oblyx.app/mcp -H "Authorization: Bearer $OBLYX_API_KEY" -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"oblyx_chat","arguments":{"prompt":"hi"}}}'
```
## Privacy
MCP calls are standard Oblyx calls: the provider sees the prompt but not who sent it, and Oblyx keeps no copy. Sealed (end-to-end encrypted) models are listed by `oblyx_list_models` but can't be called through MCP, because MCP sends readable text. For those, use [Oblyx Chat](https://oblyx.app/chat) or the Tinfoil SDK; see [oblyx-examples](https://github.com/oblyx-ai/oblyx-examples).
## Related
- [oblyx-cli](https://github.com/oblyx-ai/oblyx-cli): Oblyx from your terminal
- [oblyx-examples](https://github.com/oblyx-ai/oblyx-examples): the API from Python and JavaScript
- [oblyx-chrome](https://github.com/oblyx-ai/oblyx-chrome): Oblyx on any web page
- [MCP docs](https://oblyx.app/docs.html#/mcp) · [oblyx.app](https://oblyx.app) · [@oblyxapp](https://x.com/oblyxapp)
## License
[MIT](LICENSE)
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues