Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Mcp Server Ds

    A MCP Sever demo to explain how to chat with deepseek and how to use MCP tool calling.

    0 stars
    TypeScript
    Updated Apr 28, 2025

    Table of Contents

    • MCP
    • MCP Tools
    • Code
    • Tool definitions

    Table of Contents

    • MCP
    • MCP Tools
    • Code
    • Tool definitions

    Documentation

    MCP-SERVER-DS

    A MCP Sever demo to explain how to chat with deepseek and how to use MCP tool calling.

    MCP

    ModelContextProtocol.io

    text
    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 infrastructure

    MCP Tools

    text
    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

    ts
    // tools.ts
    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
              }
            ]
          }
        }
      }
    ts
    // 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

    shell
    ~/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 🚀

    inspector

    ### By Cline Extension in VSCode

    cline

    Similar MCP

    Based on tags & features

    • MC

      Mcp Wave

      TypeScript00
    • GL

      Glm Mcp Server

      TypeScript·
      3
    • OP

      Openai Gpt Image Mcp

      TypeScript·
      75
    • MC

      Mcgravity

      TypeScript·
      71

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • MC

      Mcp Wave

      TypeScript00
    • GL

      Glm Mcp Server

      TypeScript·
      3
    • OP

      Openai Gpt Image Mcp

      TypeScript·
      75
    • MC

      Mcgravity

      TypeScript·
      71

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k