TT

timescale/tiger-linear-mcp-server

API 开发

本页由 AI 翻译,技术细节请以原文为准。 查看原文

33 stars 2 forks 质量 73 趋势 19Apache-2.0

内部大型语言模型(LLM)中线性API的包装器

概览

一个环绕线性API的程序,通过模型上下文协议为大型语言模型提供一些专注的工具。 运行 npm i 来安装依赖并构建项目。使用 npm 运行监视来重建更改。 基于 .env.sample 文件创建一个 .env 文件。 MCP Inspector 非常方便,可以从基于网页的用户界面运行 MCP 服务器。 创建/编辑文件 ~/Library/Application Support/Claude/claude_desktop_config.json,添加类似这样的条目,确保使用你本地 tiger-linear-mcp-server 项目的绝对路径,并使用有效的 API 令牌。

概述(AI 翻译)

一个环绕线性API的程序,通过模型上下文协议为大型语言模型提供一些专注的工具。

发展

克隆并本地运行服务器。

建筑

运行npm i安装依赖并构建项目。使用npm run watch来重建变更。

基于.env.sample文件创建一个.env文件。

测试

MCP Inspector 非常方便,可以从基于网页的用户界面运行 MCP 服务器。

字段 值
运输类型 STDIO
指挥 node
论点 dist/index.js

在 Claude Desktop 上测试

创建/编辑文件 ~/Library/Application Support/Claude/claude_desktop_config.json,添加如下条目,确保使用你本地 tiger-linear-mcp-server 项目的绝对路径,并使用有效的 API 令牌。

本页由 AI 翻译,技术细节请以原文为准。

README

Tiger Linear MCP Server

A wrapper around the Linear API to provide some focused tools to LLMs via the Model Context Protocol.

Development

Cloning and running the server locally.

git clone [email protected]:timescale/tiger-linear-mcp-server.git

Building

Run npm i to install dependencies and build the project. Use npm run watch to rebuild on changes.

Create a .env file based on the .env.sample file.

cp .env.sample .env

Testing

The MCP Inspector is a very handy to exercise the MCP server from a web-based UI.

npx @modelcontextprotocol/inspector
Field Value
Transport Type STDIO
Command node
Arguments dist/index.js

Testing in Claude Desktop

Create/edit the file ~/Library/Application Support/Claude/claude_desktop_config.json to add an entry like the following, making sure to use the absolute path to your local tiger-linear-mcp-server project, and use a valid api token.

{
  "mcpServers": {
    "tiger-linear": {
      "command": "node",
      "args": [
        "/absolute/path/to/tiger-linear-mcp-server/dist/index.js",
        "stdio"
      ],
      "env": {
        "LINEAR_API_KEY": "lin_api_..."
      }
    }
  }
}
在 GitHub 查看完整 README

安装

npx @modelcontextprotocol/inspector
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "tiger-linear": { "command": "node", "args": [ "/absolute/path/to/tiger-linear-mcp-server/dist/index.js", "stdio" ], "env": { "LINEAR_API_KEY": "lin_api_..." } } } }