Goal Story MCP server

Integrates with Goal Story to enable personal goal management, step-by-step planning, and motivational narrative visualization based on users' beliefs and motivations.
Back to servers
Setup instructions
Provider
hichana
Release date
Mar 18, 2025
Language
TypeScript
Package
Stats
1.8K downloads
15 stars

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.

Getting Started

Prerequisites

Before setting up the MCP server, you'll need to obtain an API key from Goal Story.

  1. Visit GoalStory.ing
  2. Sign up or sign in to your account
  3. Retrieve your free API key from the dashboard

Installation

To install the Goal Story MCP server, you can use npm:

npm install goalstory-mcp

Configuration

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.

Usage

Once configured, the MCP server will connect to the Goal Story backend automatically. The server uses two important parameters:

  • The endpoint URL (https://prod-goalstory-rqc2.encr.app)
  • Your API key

These parameters are passed as arguments to the server and used as environment variables.

Running the Server

To run the server manually, you can use the following command:

npx goalstory-mcp https://prod-goalstory-rqc2.encr.app your-api-key

Using with MCP Inspector

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.

How to install this MCP server

For Claude Code

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.

For Cursor

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.

Adding an MCP server to Cursor globally

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"
            ]
        }
    }
}

Adding an MCP server to a project

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.

How to use the MCP server

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.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.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

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later