Skip to main content
Glama

Doctah-MCP

License: MIT Python 3.10+ MCP

🌍 Language / 语言选择: πŸ‡ΊπŸ‡Έ English | πŸ‡¨πŸ‡³ δΈ­ζ–‡

🎯 Enable AI assistants to search and access Arknights game data through a simple MCP interface.

The Doctah-MCP Server provides a bridge between AI assistants and PRTS.wiki's Arknights repository through the Model Context Protocol (MCP). It allows AI models to search for operators and enemies and access their content in a programmatic way.

✨ Core Features

  • 🎯 Operator Search: Query detailed operator information including skills, talents, and attributes

  • βš”οΈ Enemy Intelligence: Access comprehensive enemy data with level progression

  • πŸ“‹ List Search: Find operators and enemies with fuzzy search functionality

  • πŸ” Content Verification: Smart content validation to distinguish operators from enemies

  • πŸ€– AI-Friendly: Clean Markdown output with consistent structure

πŸš€ Quick Start

Install from Source

git clone https://github.com/TonybotNi/Doctah-MCP.git cd doctah-mcp pip install -e .

Verify installation:

# Test if global command works doctah-mcp --help # Or test with Python module python -m doctah_mcp.server --help

For development:

# Clone and set up development environment git clone https://github.com/TonybotNi/Doctah-MCP.git cd doctah-mcp # Install with test dependencies pip install -e ".[dev]"

πŸ”Œ MCP Integration

Choose one of the following configuration methods for your MCP client config file:

Method 1: Using global command (recommended)

{ "mcpServers": { "doctah-mcp": { "command": "doctah-mcp", // Or use full path: "/full/path/to/doctah-mcp" "args": [] } } }

πŸ’‘ If doctah-mcp command is not found, use Method 3 with full path to python executable

Method 2: Using Python module

{ "mcpServers": { "doctah-mcp": { "command": "python", "args": ["-m", "doctah_mcp.server"] } } }

Method 3: Using full path (most reliable)

{ "mcpServers": { "doctah-mcp": { "command": "/full/path/to/python", "args": ["-m", "doctah_mcp.server"], "cwd": "/path/to/doctah-mcp-folder" } } }

πŸ’‘ Note: cwd is the working directory, only needed in method 3, pointing to your downloaded doctah-mcp project folder

πŸ’‘ Available Tools

The server provides four main tools:

1. Operator Search

Search for detailed operator information:

result = await call_tool("search_operator_mcp", { "name": "Amiya", "sections": "skills,talents" })

2. Enemy Search

Get comprehensive enemy data:

result = await call_tool("search_enemy_mcp", { "name": "Originium Slug", "sections": "level0,level1" })

3. List Operators

Find operators matching a pattern:

result = await call_tool("list_operators_mcp", { "name": "guard" })

4. List Enemies

Find enemies matching a pattern:

result = await call_tool("list_enemies_mcp", { "name": "drone" })

πŸ“ Client Configuration

Claude Desktop

Configuration file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Linux: ~/.config/Claude/claude_desktop_config.json

Recommended configuration (simplest):

{ "mcpServers": { "doctah-mcp": { "command": "doctah-mcp", "args": [] } } }

Fallback configuration (if above doesn't work):

{ "mcpServers": { "doctah-mcp": { "command": "/full/path/to/python", "args": ["-m", "doctah_mcp.server"], "cwd": "/path/to/doctah-mcp-folder" } } }

Cherry Studio

  1. Open Cherry Studio β†’ Settings β†’ MCP Servers β†’ Add

  2. Select Type: STDIO

  3. Simple configuration:

    • Command: doctah-mcp

    • Args: []

  4. Fallback configuration (if above doesn't work):

    • Command: /full/path/to/python

    • Args: ["-m", "doctah_mcp.server"]

    • Cwd: /path/to/doctah-mcp-folder

βš™οΈ Configuration

Configure through environment variables:

Variable

Purpose

Default

LOG_LEVEL

Logging level

INFO

πŸ§ͺ Testing

Run the test suite:

python -m pytest

πŸ“„ License

Released under the MIT License. See the LICENSE file for details.

πŸ“– Detailed Setup Guides

Need more detailed configuration and troubleshooting? Check out:


Made with ❀️ for Arknights community

GitHub Star History

Star History Chart

-
security - not tested
A
license - permissive license
-
quality - not tested

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TonybotNi/Doctah-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server