Skip to content

gitops-ci-cd/todo-mcp-server

Todo MCP Server

A Model Context Protocol (MCP) server showcasing MCP concepts via todos.

Usage

MCP Bundle (one-click)

Download the .mcpb file from the latest release and open it — Claude Desktop will handle the rest.

npm

{
  "mcp": {
    "servers": {
      "todo-mcp-server": {
        "command": "npx",
        "args": ["-y", "--registry", "https://npm.pkg.github.com", "@gitops-ci-cd/todo-mcp-server", "stdio"]
      }
    }
  }
}

Docker

{
  "mcp": {
    "servers": {
      "todo-mcp-server": {
        "url": "http://localhost:8080/mcp",
        "type": "http"
      }
    }
  }
}
docker run -p 8080:8080 ghcr.io/gitops-ci-cd/todo-mcp-server

Remote

{
  "mcp": {
    "servers": {
      "todo-mcp-server": {
        "url": "https://ai.acme.com/mcp",
        "type": "http"
      }
    }
  }
}

Development

Starting the Server locally

cp .env.example .env
docker compose watch

If you have node installed locally, you can use:

npm run start

Adding Tools

Tools are registered in the ./src/tools directory.

Adding Resources

Resources & Templates are registered in the ./src/resources directory.

Adding Apps

Apps are registered in the ./src/apps directory.

Adding Prompts

Prompts are registered in the ./src/prompts directory.

Debugging

To debug the server, you can use modelcontextprotocol/inspector which should be running at http://localhost:6274/?serverUrl=http://app:8080/mcp if you're using the provided Docker setup.

Environment Variables

See .env.example for required and recommended environment variables.

Releasing

Releases are triggered by pushing a semver tag:

npm version patch -m "v%s"    # or minor / major — bumps package.json, commits, tags
git tag -fa "v$(node -p "require('./package.json').version")" HEAD -m "v$(node -p "require('./package.json').version")"
git push --follow-tags

This kicks off the release workflow.

Distribution

Channel Transport Identifier
npm stdio @gitops-ci-cd/todo-mcp-server
GHCR streamable-http ghcr.io/gitops-ci-cd/todo-mcp-server
MCPB stdio Latest release
Remote streamable-http See server.json

Registry metadata is defined in server.json. To publish to the MCP Registry:

brew install mcp-publisher
mcp-publisher login github
mcp-publisher publish

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors