Skip to main content
Glama
jeffrade

Demo MCP Server

by jeffrade

mcp-demo

Use FastAPI and FastMCP (from https://gofastmcp.com/integrations/fastapi#offering-an-llm-friendly-api and https://gofastmcp.com/integrations/fastapi#combining-lifespans)

Installation

poetry install

Adding MCP to Claude Code CLI

claude mcp remove demo-mcp || true && claude mcp add demo-mcp --transport http http://localhost:8000/llm/mcp && claude mcp list

Then launch Claude Code and confirm it sees and tests the add tool:

> Now you should see the add numbers tool in the demo-mcp MCP server 

● I can see that you've successfully reconnected to the demo-mcp MCP server. Let me verify that the add numbers tool is available by checking the MCP resources.

● listMcpResources(List MCP resources from server "demo-mcp")
  ⎿  (No resources found)                                                                                                                                                                                

● Great! The demo-mcp server is connected. I can confirm that the mcp__demo-mcp__add_nums tool is available in the function tools, which means it's been successfully exposed through the MCP server.

  Let me test it by adding two numbers:

● demo-mcp - add_nums (MCP)(a: 5, b: 3)
  ⎿  {            
       "result": 8
     }

● Perfect! The add numbers tool from the demo-mcp MCP server is working correctly. When I called it with a=5 and b=3, it returned the correct result of 8.

  The MCP integration is working as expected. You can now use this tool (and any other tools exposed by the demo-mcp server) throughout your Claude Code session.

Related MCP server: MCP Calculator Demo

Running

make run
F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    A simple demonstration MCP server built with FastMCP that exposes basic calculator operations (add, subtract, multiply, divide) as tools for MCP clients like GitHub Copilot Agent mode.
  • F
    license
    -
    quality
    -
    maintenance
    A demonstration FastMCP server with FastAPI integration that provides basic arithmetic operations, personalized greetings, and a stock analyst prompt template for Claude.ai.
  • F
    license
    B
    quality
    D
    maintenance
    A demonstration server that implements JSON-RPC 2.0 methods for basic arithmetic using FastAPI. It provides integration examples for the Model Context Protocol (MCP) using FastMCP to connect with Claude Desktop.
    1

View all related MCP servers

Related MCP Connectors

  • MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence

  • MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.

  • Augments MCP Server - A comprehensive framework documentation provider for Claude Code

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jeffrade/mcp-demo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server