Tapd MCP Server

by go-tapd

489 downloads
Not rated
GitHub

About

The project is still in the incubation phase.

Details

Author
go-tapd
Downloads
489
Categories
Other

- Return all story templates matching query criteria.
- Get project role ID‑to‑name mappings.
- Supports both STDIO and SSE transport modes.
- Configurable via environment variables for authentication.
- Written in Go; lightweight and self‑contained.

You can run it as a STDIO server by building from source and configuring environment variables TAPD_CLIENT_ID, TAPD_CLIENT_SECRET, and TAPD_WORKSPACE_ID. Alternatively, use the SSE server by installing the Go package and creating a custom HTTP server that listens on port 8080.

Tapd MCP Server

> [!WARNING]
> Since the official support for MCP is now available, this project will no longer be maintained and has been archived.

📥 Usage

Use STDIO Server

Build the tapd-mcp-server

git clone git@github.com:go-tapd/mcp.git

cd mcp && make build/cmd/tapd-mcp-server

./bin/tapd-mcp-server # <--- This is the command to run the STDIO server.

Configure the MCP server

Below is a configuration example based on Cline, with different configurations for various MCP Clients.

{
  "mcpServers": {
    "github.com/go-tapd/mcp": {
      "command": "{path}/tapd-mcp-server",
      "env": {
        "TAPD_CLIENT_ID": "<YOUR_CLIENT_ID>",
        "TAPD_CLIENT_SECRET": "<YOUR_CLIENT_SECRET>",
        "TAPD_WORKSPACE_ID": "<YOUR_WORKSPACE_ID>"
      }
    }
  }
}

Use SSE Server

Install the package

go get github.com/go-tapd/mcp

Create a server

package main

import (
"log"
"net/http"

"github.com/go-tapd/mcp"
"github.com/go-tapd/tapd"
)

func main() {
client, err := tapd.NewClient("client_id", "client_secret")
if err != nil {
log.Fatal(err)
}

workspaceID := 123456 // replace with your workspace ID

srv, err := mcp.NewServer(workspaceID, client)
if err != nil {
log.Fatal(err)
}

http.HandleFunc("/", srv.ServeHTTP)

if err := http.ListenAndServe(":8080", nil); err != nil {
log.Fatal(err)
}
}

Visit http://localhost:8080/sse to get the SSE stream.

📦 Features

需求

- [x] 返回符合查询条件的所有需求模板

用户

- [x] 获取项目角色ID对照关系

📄 License

MIT

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.