SA

supercorp-ai/mcp-explorium

开发工具

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

3 stars 7 forks 质量 66 趋势 4MIT

探索 API MCP 服务器

概览

这个MCP服务器用于与"探索"API交互. 这是用于开发 MCP 服务器的 README 。 关于使用指令,请参见 README-pypi.md. 安装 v并激活虚拟环境 : 当本地开发时,使用local dev server.py将MCP服务器曝光给本地客户端. 在寄存器的根部创建 .env 文件,如果它还没有配置,则使用 EXPRORIUM API KEY 环境变量. 遵循官方指南安装克洛德桌面并设置使用MCP服务器: https://modelcontextprotocol.io/quickstart/user 然后,将此条目添加到您的 Claude desktop config.json 文件 :

概述(AI 翻译)

这个MCP服务器用于与"探索"API交互.

** 注:** 这是用于开发MCP服务器的README. 关于使用指令,请参见 README-pypi.md.

□ 设置

清除仓库 :

安装 v并激活虚拟环境 :

□ 本地运行

在本地开发时,使用local_dev_server.py向本地客户端曝光MCP服务器.

你可以和MCP检查员一起测试:

在寄存器根创建一个 .env 文件 EXPLORIUM_API_KEY 如果尚未配置环境变量.

使用 Claude 桌面

遵循官方指南安装克洛德桌面并设置使用MCP服务器:

[T3]

然后,将此条目添加到您的 [[T4] 文件 :

确定用实际值取代所有[T5]。

运行 [T6] 以获取您的 [T7] 安装路径 。

使用光标

Cursor为MCP服务器提供了内置支持.

要配置使用 Explorium MCP 服务器,请到 Cursor > Settings > Cursor Settings > MCP并添加“爆炸”条目 使用此命令 :

确保将repo_path替换为寄存器的实际路径.

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

README

Explorium API MCP Server

This MCP server is used to interact with the Explorium API.

Note: this is the README for developing the MCP server. For usage instructions, see the README-pypi.md.

Setup

Clone the repository:

git clone https://github.com/explorium-ai/mcp-explorium.git
cd mcp-explorium

Install uv and activate the virtual environment:

pip install uv
uv sync --group dev

Running Locally

When developing locally, use local_dev_server.py to expose the MCP server to local clients.

You can test it with the MCP Inspector:

mcp dev local_dev_server.py

Create an .env file in the root of the repository with an EXPLORIUM_API_KEY environment variable if it’s not already configured.

Usage with Claude Desktop

Follow the official guide to install Claude Desktop and set it up to use MCP servers:

https://modelcontextprotocol.io/quickstart/user

Then, add this entry to your claude_desktop_config.json file:

{
  "mcpServers": {
    "Explorium": {
      "command": "",
      "args": [
        "run",
        "--directory",
        "",
        "mcp",
        "run",
        "local_dev_server.py"
      ],
      "env": {
        "EXPLORIUM_API_KEY": ""
      }
    }
  }
}

Be sure to replace all the `` with the actual values.

Run which uv to get your uv install path.

Usage with Cursor

Cursor has built-in support for MCP servers.

To configure it to use the Explorium MCP server, go to Cursor > Settings > Cursor Settings > MCP and add an “Explorium” entry with this command:

uv run --directory repo_path mcp run local_dev_server.py

Make sure to replace repo_path with the actual path to the repository.

You may turn on “Yolo mode” in Cursor settings to use tools without confirming under Cursor > Settings > Cursor Settings > Features > Chat > Enable Yolo mode.

Note: local usage will not work if dev dependencies are not installed, or if the virtual environment is not activated.

Building and Deploying

To build the MCP server, bump the version in pyproject.toml, then run:

uv build

This will create a dist directory with the built package.

You may then deploy the package to PyPI using the following command:

twine upload dist/*
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "Explorium": { "command": "<UV_INSTALL_PATH>", "args": [ "run", "--directory", "<REPOSITORY_PATH>", "mcp", "run", "local_dev_server.py" ], "env": { "EXPLORIUM_API_KEY": "<YOUR_API_KEY>" } } } }