Skip to content

Hook PromptForge into Cursor via the existing MCP server - #2

Draft
rbbeeston wants to merge 2 commits into
masterfrom
cursor/hook-mcp-into-cursor-7b04
Draft

Hook PromptForge into Cursor via the existing MCP server#2
rbbeeston wants to merge 2 commits into
masterfrom
cursor/hook-mcp-into-cursor-7b04

Conversation

@rbbeeston

@rbbeeston rbbeeston commented Aug 22, 2026

Copy link
Copy Markdown

Adds a project-level Cursor MCP config and a local Ollama gateway profile so a machine with Ollama does not need Anthropic/Brave keys.

What

  • .cursor/mcp.json runs cargo run -p promptforge-mcp-server -- serve --stdio prompts.toml
  • gateway.ollama.toml talks to local Ollama (openhermes:latest) with loopback password whatever
  • prompts.toml uses that same password; web search stays off (no Brave)

Try it

  1. Ollama running with openhermes:latest
  2. cargo run -p promptforge-gateway -- serve gateway.ollama.toml
  3. Enable promptforge in Cursor Settings → MCP
  4. Ask the agent to run hello
Open in Web Open in Cursor 

cursoragent and others added 2 commits August 22, 2026 04:48
Cursor reads .cursor/mcp.json and starts `promptforge-mcp-server serve --stdio prompts.toml`. That is the harness spawn already documented; this file is only the Cursor-side recipe. Considered a second prompts.toml or a new MCP tool per prompt; both already exist as one catalog behind list_prompts/run_prompt, so nothing new was added there.

Co-authored-by: Rob Beeston <rbbeeston@users.noreply.github.com>
The development prompts.toml and a new gateway.ollama.toml both use the bearer `whatever` and openhermes:latest, so a local Ollama install does not need vendor keys or a matching env file. Web search stays off on that profile because it is a Brave credential, which this path does not have. Considered interpolating PROMPTFORGE_GATEWAY_API_KEY; that was the scavenger hunt this change removes.

Co-authored-by: Rob Beeston <rbbeeston@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants