MCP VKUSVILL
MCP server for integrating AI assistants with VkusVill services, allowing natural language access to VkusVill data and operations.
README
MCP VKUSVILL
MCP server for integration with VkusVill
Install & Run
Quick Start
# Install
npm install
# Configure (copy config/local.yaml from config/_local.yaml)
# Add database credentials
# Build
npm run build
# Run (STDIO mode for Claude Desktop)
npm start
Test Run
# Unit tests
npm test
# MCP protocol tests
npm run test:mcp # STDIO mode
npm run test:mcp-http # HTTP mode
npm run test:mcp-simple # Simple test
Dual Transport System
STDIO Mode (default for Claude Desktop):
- Direct stdin/stdout communication
- Optimal for Claude Desktop integration
- No network ports required
HTTP Mode (web integration):
- HTTP server with Server-Sent Events (SSE)
- Home page with server status at
http://localhost:9048/ - Health check endpoint at
/health - Direct JSON-RPC 2.0 endpoint at
/mcp
Features
MCP Tools
MCP Prompts
agent_brief
Brief description of agent capabilities for agent selection.
agent_prompt
Complete prompt with instructions.
MCP Resources
staff://agent/brief
Same as agent_brief prompt. MIME: text/plain
staff://agent/prompt
Same as agent_prompt prompt. MIME: text/plain
2. Configuration
Option A: Configuration File
Option B: Environment Variables
Usage with AI CLIs
The server exposes an HTTP MCP endpoint at http[s]://<host[:port]>/mcp. Authentication (when enabled in
config/default.yaml → webServer.auth) is passed via the standard Authorization header — most commonly a
JWT Bearer token generated by the /gen-jwt skill or by node scripts/generate-jwt.js.
With Claude Code
Add to ~\.claude.json:
{
"mcpServers": {
"mcp-vkusvill": {
"type": "http",
"url": "http[s]://<host[:port]>/mcp",
"headers": {
"Authorization": "Bearer <jwt-token>"
}
}
}
}
With Claude Desktop
Add to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"mcp-vkusvill": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"http[s]://<host[:port]>/mcp",
"--header",
"Authorization: Bearer <jwt-token>",
"--allow-http",
"--transport",
"http-only"
]
}
}
}
With Qwen Code
Add to ~\.qwen\settings.json:
{
"mcpServers": {
"mcp-vkusvill": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"http[s]://<host[:port]>/mcp",
"--header",
"Authorization: Bearer <jwt-token>",
"--allow-http",
"--transport",
"http-only"
]
}
}
}
For STDIO transport (local Claude Desktop integration without an HTTP server), run
node <path-to-project>/dist/src/start.js stdio— seeCLAUDE.mdfor details.
HTTP Mode Endpoints
- / - Home page
- /health - Health check
- /sse - Server-Sent Events
- /mcp - JSON-RPC 2.0
Claude Code Skills
The project ships with custom skills in .claude/skills/:
| Command | Description |
|---|---|
/gen-jwt |
Generate JWT tokens for MCP server authentication |
/upgrade-guide |
Generate migration guide for fa-mcp-sdk upgrades |
/feature-prompt-generator |
Turn a feature description into a self-sufficient prompt for an AI CLI |
/readme-generator |
Generate structured README.md + satellite readme-docs/*.md |
/mcp-app-create |
Scaffold a new MCP App (interactive UI: tool + HTML resource via ext-apps) |
/mcp-app-add-to-server |
Enrich existing MCP server tools with interactive UIs (MCP Apps SDK) |
Details, launch modes, and examples: SKILLS
Sharing Skills with OpenAI Codex
The skills in .claude/skills/ can also be used from OpenAI Codex —
Codex officially reads project Skills from .agents/skills/ and supports symlinked skill folders. Run the
bundled helper once to create the link (junction on Windows, relative symlink on macOS/Linux):
npm run agents:link # create .agents/skills -> .claude/skills
npm run agents:link:status # inspect current link state
npm run agents:link:remove # remove the link
Only skills are linked. Other Claude Code entities (.claude/agents/, .claude/commands/, hooks, MCP config)
use formats incompatible with Codex (TOML agents in .codex/agents/, MCP servers in .codex/config.toml) and
must be configured separately. For project guidance, this template already keeps a single AGENTS.md and
imports it from CLAUDE.md via @AGENTS.md, so the same instructions feed both tools.
Security
Admin panel JWT requirement
When adminPanel.authType includes jwtToken, the admin panel (/admin) accepts a JWT
only if its payload contains allow: 'gen-token'. JWTs without this claim are
rejected with 401 — this blocks short-lived tokens issued for other purposes (for
example, the 5-minute JWT auto-generated by the Agent Tester page and written into its
Authorization header) from being replayed to mint arbitrary long-lived tokens.
permanentServerTokens and basic admin auth are unaffected by this check.
Generate an admin-capable JWT:
node scripts/generate-jwt.js -u admin -ttl 30d -p "allow=gen-token"
Public Contract
The runtime contract surfaced by this server (transports, HTTP endpoints, JWT claims, tool / prompt / resource shape, error mapping, headers, semver and deprecation policy) is documented in FA-MCP-SDK-DOC/11-public-contract.md.
Tools, prompts and resources exposed by this project are listed in the table below — update this section whenever you add, rename, or remove an entry.
Tools
| Name | Description |
|---|---|
<tool_name> |
Short description |
Prompts
| Name | Description |
|---|---|
agent_brief |
Short agent description (built-in) |
agent_prompt |
Full system prompt (built-in) |
Resources
| URI | Description |
|---|---|
project://version |
SDK / project version (built-in) |
use://auth |
Authentication self-description (built-in) |
<service>://agent/brief |
Mirror of agent_brief (built-in) |
<service>://agent/prompt |
Mirror of agent_prompt (built-in) |
Versioning policy
This project follows the semver contract documented in
FA-MCP-SDK-DOC/11-public-contract.md.
Mark every MAJOR change with [BREAKING] in CHANGELOG.md.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。