LynxPrompt-MCP
A tiny bridge that exposes any LynxPrompt instance as an MCP server, enabling LLMs to browse, search, and manage AI configuration blueprints.
______________________________________________________________________
你得到了什么
| 类型 | 用途 | MCP URI/工具id |
|---|---|---|
| 资源 | 以只读方式浏览蓝图、层次结构和用户信息 | lynxprompt://blueprints |
lynxprompt://blueprint/{id} lynxprompt://hierarchies lynxprompt://hierarchy/{id} lynxprompt://user | | 工具 |创建、更新、删除蓝图和管理层次结构| search_blueprints create_blueprint update_blueprint delete_blueprint create_hierarchy delete_hierarchy |
所有内容都通过单个JSON-RPC端点公开(/mcp). LLM/代理人可以: initialize -> readResource -> listTools -> callTool …等等。
______________________________________________________________________
快速入门(Docker Compose)
services:
lynxprompt-mcp:
image: drumsergio/lynxprompt-mcp:latest
ports:
- "127.0.0.1:8080:8080"
environment:
- LYNXPROMPT_URL=https://lynxprompt.com
- LYNXPROMPT_TOKEN=lp_xxx安全说明: HTTP传输侦听 127.0.0.1:8080 默认情况下。如果需要在网络上公开它,请将其放置在具有身份验证的反向代理后面。通过npm安装(stdio传输)
npx lynxprompt-mcp或全局安装:
npm install -g lynxprompt-mcp
lynxprompt-mcp这将从GitHub Release为您的平台下载预构建的Go二进制文件,并使用stdio传输运行它。至少需要一个 出版发行.
本地建设
git clone https://github.com/GeiserX/lynxprompt-mcp
cd lynxprompt-mcp
# (optional) create .env from the sample
cp .env.example .env && $EDITOR .env
go run ./cmd/server配置
| 变量 | 默认值 | 描述 |
|---|---|---|
LYNXPROMPT_URL | https://lynxprompt.com | LynxPrompt实例URL(不带尾随/) |
LYNXPROMPT_TOKEN | _(必填)_ | 中的API令牌 lp_xxx 格式 |
LISTEN_ADDR | 127.0.0.1:8080 | HTTP监听地址(Docker设置 0.0.0.0:8080) |
TRANSPORT | _(空=HTTP)_ | 设置为 stdio 用于stdio传输 |
把它们放在一个 .env 文件(来自 .env.example)或者将它们置于环境中。
测试
经过测试 检查员 目前,它正在全面运作。在进行PR之前,请确保此MCP服务器通过此介质运行良好。
客户端LLM的示例配置
{
"schema_version": "v1",
"name_for_human": "LynxPrompt-MCP",
"name_for_model": "lynxprompt_mcp",
"description_for_human": "Browse, search, and manage AI configuration blueprints from LynxPrompt.",
"description_for_model": "Interact with a LynxPrompt instance that stores AI configuration blueprints. First call initialize, then reuse the returned session id in header \"Mcp-Session-Id\" for every other call. Use readResource to fetch URIs that begin with lynxprompt://. Use listTools to discover available actions and callTool to execute them.",
"auth": { "type": "none" },
"api": {
"type": "jsonrpc-mcp",
"url": "http://localhost:8080/mcp",
"init_method": "initialize",
"session_header": "Mcp-Session-Id"
},
"logo_url": "https://lynxprompt.com/logo.png",
"contact_email": "acsdesk@protonmail.com",
"legal_info_url": "https://github.com/GeiserX/lynxprompt-mcp/blob/main/LICENSE"
}学分
LynxPrompt 的 --AI配置蓝图管理
MCP-GO --现代MCP实施
GoRelease --无痛多弓松解术
维护者
@盖泽尔.
贡献
尽情潜水吧! 打开一个问题 或提交PR。
LynxPrompt MCP遵循 贡献者契约 行为准则。
GeiserX的其他MCP服务器
相关项目
| 项目 | 描述 |
|---|---|
| LynxPrompt 的 | 通过WebUI和CLI实现AI IDE/工具规则和命令的自托管平台 |
| lynxprompt vscode | LynxPrompt AI配置文件管理的VS代码扩展名 |
| lynxprompt动作 | 使用LynxPrompt同步和验证AI IDE配置文件的GitHub操作 |
| n8n节点lynxprompt | 用于LynxPrompt AI配置蓝图的n8n社区节点 |
| 自制程序lynxprompt | LynxPrompt CLI的自制水龙头 |
