Skip to main content

thinkthinking's mcp server

Project description

Think MCP Server

PyPI version Python Version License

Think MCP Server 是一个基于 MCP 协议的服务器实现,提供了丰富的功能,包括提示词管理、资源管理和工具调用等。

特性

  • 跨平台支持 (macOS, Windows, Linux)
  • 自动配置文件管理
  • 提示词模板系统
  • 资源管理
  • 工具调用接口

安装

使用 pip 安装

pip install think-mcp-server

使用 uvx 直接运行

uvx run think-mcp-server

从源码安装

git clone https://github.com/thinkthinking/think-mcp-server.git
cd think-mcp-server
pip install -e .

使用方法

配置

首次运行时,Think MCP Server 会自动创建必要的配置文件和目录:

  • ~/.think-mcp-server/config/.env: 环境变量配置
  • ~/.think-mcp-server/prompts/: 提示词目录
  • ~/.think-mcp-server/resources/: 资源目录

运行服务器

think-mcp-server

在 Windsurf 中配置

在 Windsurf 的 servers_config.json 中添加以下配置:

{
  "mcpServers": {
    "think-mcp-server": {
      "command": "uvx",
      "args": [
        "run",
        "think-mcp-server"
      ]
    }
  }
}

开发

安装开发依赖

pip install -e ".[dev]"

运行测试

pytest

许可证

MIT

作者

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

think_mcp_server-0.4.1.tar.gz (46.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

think_mcp_server-0.4.1-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

Details for the file think_mcp_server-0.4.1.tar.gz.

File metadata

  • Download URL: think_mcp_server-0.4.1.tar.gz
  • Upload date:
  • Size: 46.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for think_mcp_server-0.4.1.tar.gz
Algorithm Hash digest
SHA256 afc848645a62e95b39d9b6397b44220e238b7b57f140b465c47b0ee91234b801
MD5 e0bc6c24d240fe4baa4469ec90d4220e
BLAKE2b-256 c4c604a9b4a1cd1993aaeb845a86ed726fb5018c5ea6cfadda9a649a9cce5a21

See more details on using hashes here.

File details

Details for the file think_mcp_server-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for think_mcp_server-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d1585c223f3fa1e262e89f4d642bda6d3e25fd100f9e493e4bfe705a20caf2a
MD5 bd69b5414b116dd620c4edde06767175
BLAKE2b-256 d0d3852de98faf3726f90dbb091c803b11ba8058ae4082f7fc7302a7cab03800

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page