Hook PromptForge into Cursor via the existing MCP server - #2
Draft
rbbeeston wants to merge 2 commits into
Draft
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.jsonrunscargo run -p promptforge-mcp-server -- serve --stdio prompts.tomlgateway.ollama.tomltalks to local Ollama (openhermes:latest) with loopback passwordwhateverprompts.tomluses that same password; web search stays off (no Brave)Try it
openhermes:latestcargo run -p promptforge-gateway -- serve gateway.ollama.tomlhello