NexusAPI MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NexusAPI MCP ServerShow me the schema for the kling-video model"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NexusAPI MCP server, Python, Node.js and n8n examples
An open-source MCP server and production-minded examples for the asynchronous NexusAPI generation flow.
MCP tools for AI agents
The stdio server exposes four tools:
nexusapi_list_models— search the live public model catalog;nexusapi_get_model_schema— inspect the live OpenAPI fields for one model;nexusapi_generate— create an asynchronous, potentially billable generation task;nexusapi_get_task— retrieve task status, result or error.
The server does not hide model-specific validation. Agents should inspect the live schema and obtain user approval before calling the billable generation tool.
After this repository is published, use it from a compatible local MCP host with:
{
"mcpServers": {
"nexusapi": {
"command": "npx",
"args": ["-y", "github:mat12121212/nexusapi-examples"],
"env": {
"NEXUS_API_KEY": "replace-me"
}
}
}
}Requirements: Node.js 20+ and an existing NexusAPI key. The key remains in the local host environment; do not commit it to the repository.
The repository demonstrates one lifecycle shared by the model schemas published in the live NexusAPI OpenAPI document:
Send
POST /generatewith aparamsobject.Store the returned
task_id.Poll
GET /tasks/{task_id}with bounded exponential backoff.Stop on
completedorfailed.
The model-specific fields still come from the live schema. Do not copy parameters between models without checking the NexusAPI documentation and OpenAPI JSON.
Related MCP server: A2A Client MCP Server
Examples
src/mcp-server.mjs— local MCP server over stdio.python/nexusapi_client.py— reusable synchronous Python client.python/kling_video.py— Kling 3 text-to-video request.node/nexusapi-client.mjs— dependency-free Node.js 18+ client.node/gpt-image.mjs— GPT Image request.n8n/nexusapi-generate-and-wait.json— importable workflow with polling and failure handling.
Quick start: Python
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
export NEXUS_API_KEY="replace-me"
python python/kling_video.pyQuick start: Node.js
export NEXUS_API_KEY="replace-me"
node node/gpt-image.mjsn8n
Import the JSON file from n8n/, then create the NEXUS_API_KEY environment variable in the n8n runtime. Review the model parameters before executing the workflow. A successful run can incur generation charges.
Safety notes
Keep the API key on the server. Never ship it in browser JavaScript.
A client timeout does not prove that a generation stopped. Save
task_idand check it again.Do not retry an ambiguous
POST /generateautomatically: the first request may have created a paid task.Treat
422as a request/schema problem. Change the request before retrying.Respect
429and temporary5xxresponses with bounded backoff.Review every agent-proposed generation before allowing the billable MCP tool call.
Verification
Verified against the live NexusAPI OpenAPI document and the official MCP TypeScript SDK v2 on 2026-08-01. The included smoke test performs the MCP initialize handshake, lists tools and calls all four tools against a local mock API. No paid generation is used by the test.
Disclosure
This repository is maintained for NexusAPI. The examples are open source under the MIT License; use of the API itself is governed by the service terms and pricing.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBquality-maintenanceEnables AI assistants to interact with Nexus projects, allowing management of projects, bugs, milestones, concepts, and templates through natural language commands.Last updated20
- FlicenseAquality-maintenanceEnables LLMs to interact with Agent-to-Agent (A2A) protocol compatible agents, allowing them to send tasks, receive responses, track task status, and query agent capabilities through the Model Context Protocol.Last updated5

Nexus MCP Serverofficial
Alicense-qualityDmaintenanceEnables AI agents to interact with the Nexus blockchain, providing tools for querying blockchain data, smart contract calls, transaction submission, and event monitoring.Last updated7MIT- -license-quality-maintenanceEnables discovery of public AI models with pricing, documentation context, and OpenAI-compatible integration examples. Supports both read-only queries and paid async media generation tasks.Last updated
Related MCP Connectors
Reliable async execution for agent tool calls: schema gating, retries, idempotency, audit trail.
Create and manage cinematic AI video renders through the Future Video Studio Agent API.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mat12121212/nexusapi-examples'
If you have feedback or need assistance with the MCP directory API, please join our Discord server