mcp-alapi-cn

mcp-alapi-cn

这是一个基于 ALAPI 的 MCP (Model Control Protocol) 服务器实现,可以通过MCP协议直接调用ALAPI的接口

Category
Visit Server

README

ALAPI MCP Server

smithery badge

这是一个基于 ALAPI 的 MCP (Model Control Protocol) 服务器实现,可以通过MCP协议直接调用ALAPI的接口

功能特点

  • 自动加载 ALAPI OpenAPI 规范
  • 支持加载全部或指定 API (短视频解析、天气查询、每天60秒读懂世界、企业查询...)
  • 符合 MCP 协议标准
  • 统一的错误处理和响应格式
  • 支持环境变量配置

环境要求

  • Go 1.24.1 或更高版本
  • 有效的 ALAPI Token
  • 支持 MCP 的客户端(如 Claude Desktop、Continue、Cursor 等)

安装

Installing via Smithery

To install mcp-alapi-cn for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @ALAPI-SDK/mcp-alapi-cn --client claude

构建安装

#Github
git clone https://github.com/alapi-sdk/mcp-alapi-cn.git

#CNB 国内加速地址
#git clone https://cnb.cool/alapi/mcp-alapi-cn.git

cd mcp-server
go mod tidy
go build

下载已构建的软件包

下载对应系统的软件包

Github: https://github.com/ALAPI-SDK/mcp-alapi-cn/releases

CNB(国内加速): https://cnb.cool/alapi/mcp-alapi-cn/-/releases

配置和使用

环境变量配置

项目使用以下环境变量:

  • ALAPI_TOKEN(必需):ALAPI 的认证令牌,在 token管理 里面创建, 如果不设置,mcp 会启动不了
  • ALAPI_ID(可选):指定要加载的 API ID,不设置则加载所有 API(实际的API_id 可通过 ALAPI 官网查看,可在我的API里面查询)

Cursor配置方式

  1. 打开Cursor设置 > 扩展 > MCP工具
  2. 添加新的MCP工具
  3. 按照以下格式填写配置:
{
    "mcpServers": {
        "mcp-alapi-cn": {
            "command": "C:\\Users\\Administrator\\实际目录\\mcp-alapi-cn.exe",
            "env": {
                "ALAPI_TOKEN": "xxxx",
                "ALAPI_API_ID": "0"
            }
        }
    }
}

CherryStudio配置方式

  1. 打开 CherryStudio 设置 -> MCP 服务器
  2. 添加MCP服务器
  3. 配置说明:

名称: MCP-ALAPI-CN
类型: STDIO
命令: C:\\Users\\Administrator\\实际目录\\mcp-alapi-cn.exe
环境变量:

ALAPI_TOKEN=你的token

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured