This MCP server for Goal Story integrates with the Goal Story platform, allowing you to connect to its conversational AI for goal management. The server acts as a bridge between your local development environment and the Goal Story backend, enabling you to use its "Goal Engine" capabilities within your applications.
Before setting up the MCP server, you'll need to obtain an API key from Goal Story.
To install the Goal Story MCP server, you can use npm:
npm install goalstory-mcp
The Goal Story MCP server needs to be configured with your API key and the appropriate endpoint URL. Add the following configuration to your MCP configuration file:
"goalStory": {
"command": "npx",
"args": ["-y", "goalstory-mcp", "https://prod-goalstory-rqc2.encr.app", "your-api-key"]
}
Make sure to replace "your-api-key"
with the actual API key you obtained from the Goal Story website.
Once configured, the MCP server will connect to the Goal Story backend automatically. The server uses two important parameters:
https://prod-goalstory-rqc2.encr.app
)These parameters are passed as arguments to the server and used as environment variables.
To run the server manually, you can use the following command:
npx goalstory-mcp https://prod-goalstory-rqc2.encr.app your-api-key
If you're developing with the MCP inspector, the configuration in your MCP config file should be sufficient to get started. The inspector will automatically use the arguments specified in your configuration.
To run both the inspector and the MCP server together, you can use the npm script that's included with the package.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "goalStory" '{"command":"npx","args":["-y","goalstory-mcp","https://prod-goalstory-rqc2.encr.app","your-api-key"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"goalStory": {
"command": "npx",
"args": [
"-y",
"goalstory-mcp",
"https://prod-goalstory-rqc2.encr.app",
"your-api-key"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"goalStory": {
"command": "npx",
"args": [
"-y",
"goalstory-mcp",
"https://prod-goalstory-rqc2.encr.app",
"your-api-key"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect