Cycleo MCP server

Cycleo MCP server

This server enables users to read data from Cycleo's versioned JSON API through a secure, allow-listed tool surface, using user-scoped OAuth authentication.

Category
访问服务器

README

Cycleo MCP server

Distributable, read-only MCP adapter for Cycleo. The server exposes a small allow-listed tool surface and calls Cycleo's versioned JSON API with the user-scoped OAuth bearer token.

This repository contains the MCP resource server only. Cycleo remains the authorization server and data owner; the /oauth/* integration is documented in docs/auth-integration.md and must be wired before production use.

Cycleo users who want to connect from their own computer should follow the workstation setup guide. It uses the hosted MCP endpoint; cloning or running this server locally is not required.

Local run

cp .env.example .env
npm run start:local

The local endpoint is http://localhost:8787/mcp. Open http://localhost:8787/connect once to sign in through Cycleo. The server stores only the OAuth token set locally with restrictive file permissions and refreshes access tokens automatically. Set CYCLEO_API_BASE_URL to a local Cycleo API when developing against a local checkout.

Local mode is explicit (MCP_AUTH_MODE=local) and the server refuses to start unless MCP_HOST is a loopback host. The default token file is ~/.cycleo-mcp/tokens.json; override it with TOKEN_STORE_PATH when needed.

Production boundary

Production must use MCP_AUTH_MODE=bearer. In that mode /connect and /callback are disabled, no token is loaded from disk, and every MCP request must provide its own OAuth bearer token. Set MCP_PUBLIC_URL, OAUTH_RESOURCE and CYCLEO_API_BASE_URL to their HTTPS production values. OAUTH_CLIENT_ID, OAUTH_REDIRECT_URI and TOKEN_STORE_PATH are local-mode settings. ALLOWED_ORIGINS is a comma-separated allow-list for clients that send an Origin header and defaults to the public resource origin.

The MCP server never receives Cycleo passwords and never connects to the Cycleo database. It validates each request's identity through GET /auth/me, binds MCP sessions to that user and league, and only forwards the allow-listed read routes in src/tools.mjs.

CI/CD

GitHub Actions runs syntax checks, tests and the production dependency audit on pushes and pull requests to main. CI covers Node 20.6, 22 and 24.

The delivery workflow runs for version tags such as v1.2.3 and manual dispatches. After re-running all checks, it deploys over SSH to /var/www/cycleo.mcp/releases/<commit> and atomically switches /var/www/cycleo.mcp/current. It restarts cycleo-mcp.service, verifies the loopback health endpoint and restores the previous release if verification fails.

Server preparation, the hardened unit template, required GitHub environment secrets and release procedure are documented in docs/systemd-deployment.md.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选