MCP Service Framework
@Hiohk
About MCP Service Framework
一个基于MCP协议开发的LLM(大模型)服务端项目
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Service Framework?
A scalable service framework based on the Model Context Protocol (MCP), providing standardized tool calling interfaces and AI integration. It includes a base service architecture, a weather service implementation example, and an intelligent dialogue processing pipeline.
How to use MCP Service Framework?
Install dependencies (npm install @modelcontextprotocol/sdk express dotenv), configure environment variables (API keys for DeepSeek and a weather service), and start the main service with npm run start:prod. Custom MCP services can be created using the provided service template and integrated into the client.
Key features of MCP Service Framework
- Full MCP protocol Server/Client communication model
- Hot‑pluggable service registration and invocation
- Context‑aware dialogue management with automatic tool calls
- Multi‑turn conversation state retention
- Request retry mechanism (default 3 times) and unified error handling
- Service health monitoring
Use cases of MCP Service Framework
- Querying real‑time weather via natural language chat (e.g., “北京今天天气如何?”)
- Rapidly extending AI assistants with custom tool services
- Building production‑grade applications that combine AI reasoning with standardized tool calls
FAQ from MCP Service Framework
What dependencies are required?
Node.js, @modelcontextprotocol/sdk, express, and dotenv. API keys for DeepSeek and a weather service are also needed.
How do I create a custom tool service?
Follow the provided template: create a JavaScript file using Server from the MCP SDK, implement ListToolsRequestSchema and CallToolRequestSchema handlers, then integrate it into the client with StdioClientTransport.
What transport protocol is used for service communication?
Stdio transport is used for communication between the MCP Client and MCP Servers.
What is the maximum conversation context length?
The default maximum context length is 5 dialogue turns.
How does error handling and retry work?
The framework includes a request retry mechanism with default intervals of 500 ms, 1000 ms, and 1500 ms (3 attempts). Error codes follow the standard MCP error schema.
More Developer Tools MCP servers
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
Deepwiki MCP Server
regenrek📖 MCP server for fetch deepwiki.com and get latest knowledge in Cursor and other Code Editors
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. 🦀
OpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
Comments