MCP Expert Server
Utilizes environment variables for configuration, particularly for storing the Anthropic API key
Uses Node.js as the runtime environment for the MCP server, requiring version 18 or higher
Implements the server using TypeScript for type safety and modularity in the codebase
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Expert Servercreate a GraphQL query to fetch user profiles with their latest activity"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Expert Server
A Model Context Protocol server that provides intelligent query generation and documentation assistance using Claude AI. The server analyzes your API documentation and provides two main tools:
create-query: Generates queries based on natural language requests
documentation: Provides relevant documentation information based on questions
Prerequisites
Node.js >= 18
An Anthropic API key for Claude
Related MCP server: MCP Outline Server
Installation
Clone the repository
Install dependencies:
npm installCreate a
.envfile with your Anthropic API key:
ANTHROPIC_API_KEY=your_api_key_hereSetup
Before running the server, you need to:
Build the project and run the setup script:
npm run build
npm run setupThis will:
Create the required directories (
docs/andprompts/)Create default prompt files
Generate an initial service description
Add your API documentation files to the
docs/directory (supports.txt,.md, and.jsonfiles)Optionally customize the prompts in the
prompts/directory:system-prompt.txt: Main system prompt for Claudetool-metadata.txt: Additional context for tool descriptionsquery-metadata.txt: Additional context for query generationservice-description.txt: Auto-generated service description
Usage
Standalone Server
Start the server:
npm startThe server exposes two tools via the Model Context Protocol:
create-query: Generate a query based on natural language request
{ "name": "create-query", "arguments": { "request": "Find all users who signed up in the last week" } }documentation: Get information from the documentation
{ "name": "documentation", "arguments": { "request": "How do I authenticate API requests?" } }
Claude Desktop Integration
Add this configuration to your Claude Desktop config file:
{
"mcpServers": {
"expert": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/expert-server/build/index.js"],
"env": {
"ANTHROPIC_API_KEY": "your_api_key_here"
}
}
}
}Replace
/ABSOLUTE/PATH/TO/expert-serverwith the actual absolute path to your server installation.Restart Claude Desktop.
Directory Structure
.
├── docs/ # Your API documentation files
├── prompts/ # System prompts and metadata
│ ├── system-prompt.txt # Main system prompt
│ ├── tool-metadata.txt # Tool description context
│ ├── query-metadata.txt # Query generation context
│ └── service-description.txt # Generated service description
├── src/ # Source code
│ ├── index.ts # Entry point
│ ├── server.ts # MCP server implementation
│ └── services/ # Core services
│ └── expertService.ts # Claude integration
└── package.jsonDevelopment
Build the project:
npm run buildThe server uses TypeScript and follows a modular architecture
All Claude interactions are handled by the ExpertService class
Debug logs are written to stderr with [DEBUG] prefix
Troubleshooting
If you encounter connection issues:
Ensure you've run the setup script:
npm run setupCheck that all required files exist in the
prompts/directoryVerify your
ANTHROPIC_API_KEYis correctly setUse absolute paths in your Claude Desktop config
Check the debug logs (written to stderr)
Environment Variables
ANTHROPIC_API_KEY: Your Anthropic API key (required)
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables Claude to manage software development projects with complete context awareness and code execution through Docker environments.5 npm4-
- AlicenseAqualityAmaintenanceA Model Context Protocol server that enables AI assistants like Claude to interact with Outline document services, supporting document searching, reading, creation, editing, and comment management.38293 PyPI155MIT
- AlicenseBqualityDmaintenanceA secure Model Context Protocol server that enables Claude Code to connect with OpenAI and Google Gemini models, allowing users to query multiple AI providers through a standardized interface.33MIT
- AlicenseCqualityFmaintenanceAn AI-powered Model Context Protocol server for Claude Code that provides code intelligence tools including codebase analysis, task management, component generation, and deployment configuration.2316GPL 3.0