iqprompt-mcp
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., "@iqprompt-mcpenhance this prompt for a technical blog post"
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.
iqprompt-mcp
Standalone Model Context Protocol server for IQPROMPT.
This repository is deployed independently (e.g. on Railway) and proxies MCP tool calls to the IQPROMPT HTTP API. By default it targets the dev environment:
https://dev.iqprompt.ai
Architecture
MCP client (ChatGPT OAuth / Cursor Bearer)
│ Streamable HTTP
▼
iqprompt-mcp (this service)
│ X-API-Key (per user)
▼
dev.iqprompt.ai
GET /api/suggest/activity/recent
POST /api/suggest/suggest-prompt
POST /api/suggest/session/new
Related MCP server: FastMCP Example Server
Tools
| Tool | Upstream endpoint |
|------|-------------------|
| test_connection | GET /api/suggest/activity/recent |
| enhance_prompt | POST /api/suggest/suggest-prompt |
| enhance_for_coding_agent | POST /api/suggest/suggest-prompt (category=coding_agent) |
| create_session | POST /api/suggest/session/new |
enhance_for_coding_agent always sends category=coding_agent. Prefer it over
enhance_prompt when rewriting prompts for coding agents.
enhance_prompt / enhance_for_coding_agent reuse the upstream session ID
returned for the same API key and end_user_email. A new session is created only
for the first enhancement in that scope, after an explicit create_session, or
when session_action is reset. Session reuse is process-local, so a redeploy
or multi-instance deployment requires the caller to pass session_id for durable
continuity.
test_connection uses the read-only activity endpoint to verify API key validity
without generating a prompt or creating a session.
Authentication
ChatGPT (OAuth + paste API key)
In ChatGPT, add a custom MCP connector pointing at
https://mcp.iqprompt.ai/mcpwith OAuth.ChatGPT opens the IQPROMPT connect page.
User signs up / logs in at iqprompt.ai, copies their API key, and pastes it on the connect page.
MCP issues an OAuth access token bound to that key and uses it for
/api/suggest.
Cursor / Claude Desktop (Bearer API key)
Pass your IQPROMPT API key as a Bearer token (OAuth-protected /mcp requires Authorization):
{
"mcpServers": {
"iqprompt": {
"url": "https://mcp.iqprompt.ai/mcp",
"headers": {
"Authorization": "Bearer iq_your_api_key"
}
}
}
}
Do not set a shared IQPROMPT_API_KEY on Railway for multi-user deployments.
Local development
python -m venv .venv
.venv\Scripts\activate # Windows
# source .venv/bin/activate # macOS/Linux
pip install -r requirements.txt
pip install -e .
copy .env.example .env
# set MCP_PUBLIC_URL=http://localhost:8100
python -m iqprompt_mcp
| Endpoint | Purpose |
|----------|---------|
| http://localhost:8100/mcp | MCP Streamable HTTP |
| http://localhost:8100/connect | Paste API key (OAuth authorize UI) |
| http://localhost:8100/health | Health check |
| http://localhost:8100/.well-known/oauth-authorization-server | OAuth discovery |
Verification
Run the local unit tests after installing the project dependencies:
python -m unittest discover -s tests -qRun a deployed-service smoke test with a valid IQPROMPT API key. The script checks
/health, MCP initialization, tool discovery, and test_connection:
$env:IQPROMPT_API_KEY = "iq_your_api_key"
python tools/smoke_test.py --mcp-url https://mcp.iqprompt.ai/mcpDeploy to Railway
Create a new Railway project from this repository.
Railway builds with
Dockerfile(seerailway.toml).Set environment variables:
| Variable | Value |
|----------|-------|
| IQPROMPT_API_URL | https://dev.iqprompt.ai |
| MCP_PUBLIC_URL | https://mcp.iqprompt.ai |
| IQPROMPT_DASHBOARD_URL | https://iqprompt.ai |
| OAUTH_ENABLED | true |
PORT is injected automatically by Railway.
Point ChatGPT at
https://mcp.iqprompt.ai/mcpwith OAuth authentication.
Production API
When ready for production upstream:
IQPROMPT_API_URL=https://api.iqprompt.ai
(Use your actual production API host if different.)
Environment variables
| Variable | Default | Description |
|----------|---------|-------------|
| IQPROMPT_API_URL | https://dev.iqprompt.ai | Upstream IQPROMPT API base URL |
| IQPROMPT_DASHBOARD_URL | https://iqprompt.ai | Login / signup / API key UI links |
| MCP_PUBLIC_URL | http://localhost:8100 | Public base URL of this MCP server (OAuth issuer) |
| OAUTH_ENABLED | true | Enable OAuth + /connect paste-key flow |
| IQPROMPT_API_KEY | — | Optional local fallback only |
| MCP_HOST | 0.0.0.0 | Bind host |
| PORT / MCP_PORT | 8100 | Listen port |
Notes
OAuth client registrations, codes, and tokens are stored in memory. Users may need to reconnect after a Railway redeploy.
Raw
iq_…keys sent asAuthorization: Bearerare accepted so Cursor works without the browser flow.
Docker
docker build -t iqprompt-mcp .
docker run --rm -p 8100:8100 \
-e IQPROMPT_API_URL=https://dev.iqprompt.ai \
-e MCP_PUBLIC_URL=http://localhost:8100 \
iqprompt-mcp
Repository note
This folder can live inside the main IQPROMPT monorepo during development, but it is intended to be hosted as its own Railway service and may be split into a separate Git repository when you are ready.
This server cannot be installed
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
- AlicenseBqualityCmaintenanceA mock MCP server for testing MCP client implementations and development workflows. Supports tools, prompts, and resources across multiple transport protocols (stdio, HTTP, SSE).21MIT
- Flicense-qualityDmaintenanceEducational example of an MCP server built with FastMCP, demonstrating how to expose tools, resources, and prompts for AI clients.
- Alicense-qualityDmaintenanceMCP Server for interacting with the Langflow API via a natural language interface. It exposes Langflow functionalities as tools for LLMs.MIT
- Flicense-qualityDmaintenanceStandalone MCP server that proxies tool calls to Ottoauth HTTP endpoints, enabling account creation and dynamic service interaction.
Related MCP Connectors
MCP server exposing the Backtest360 engine API as tools for AI agents.
MCP server for generating rough-draft project plans from natural-language prompts.
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
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/DaemD/iq-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server