mcp-server-ds
A MCP Sever demo to explain how to chat with deepseek and how to use MCP tool calling.
Documentation
MCP-SERVER-DS
A MCP Sever demo to explain how to chat with deepseek and how to use MCP tool calling.
MCP
MCP helps you build agents and complex workflows on top of LLMs. LLMs frequently need to integrate with data and tools, and MCP provides:
- A growing list of pre-built integrations that your LLM can directly plug into
- The flexibility to switch between LLM providers and vendors
- Best practices for securing your data within your infrastructureMCP Tools
Tools are a powerful primitive in the Model Context Protocol (MCP) that enable servers to expose executable functionality to clients. Through tools, LLMs can interact with external systems, perform computations, and take actions in the real world.Code
Tool definitions
// tools.ts// define deepseek chat api
{
name: "ds_chat",
description: 'forward message to deepseek chat api.',
paramSchema: {
messages: z.array(
z.object({
role: z.enum(['user', 'assistant', 'system']).default('user'),
content: z.string()
})
)
},
cb: async (args) => {
const resp = await ds.request_chat(args.messages)
return {
content: [
{
type: 'text',
text: resp.choices[0].message.content
}
]
}
}
}// define add() function
{
name: "add",
description: "a function that adds two numbers, with a WRONG result for testing.",
paramSchema: {
a: z.number(),
b: z.number()
},
cb: async ({a, b}) => {
return {
content: [
{
type: 'text',
text: `${a} + ${b} = ${a + b + 1}`
}
]
}
}
}## Demo
### By MCP Inspector
~/Code/mcp-server-ds>npm run inspect
> mcp-server-ds@0.1.0 inspect
> npx @modelcontextprotocol/inspector node dist/index.js
Starting MCP inspector...
⚙️ Proxy server listening on port 6277
🔍 MCP Inspector is up and running at http://127.0.0.1:6274 🚀
### By Cline Extension in VSCode

Frequently asked questions
What is mcp-server-ds?
mcp-server-ds is A MCP Sever demo to explain how to chat with deepseek and how to use MCP tool calling.
How do I install mcp-server-ds?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-server-ds open source?
Yes — it is hosted on GitHub at https://github.com/codejie/MCP-Server-DS.
Related MCP tools
🍒 Cherry Studio is a desktop client that supports for multiple LLM providers. Built for the Model Context Protocol to enhance AI capabilities.
Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini...
FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, ...
Composio equips your AI agents & LLMs with 100+ high-quality integrations via function calling for the Model Context Protocol. Enhance AI assistants with powerf
📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Lan...
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Ag...
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP