Mcp Server Basic Sample

Mcp Server Basic Sample

By t-shiratori GitHub

-

mcp server
Overview

what is Mcp Server Basic Sample?

Mcp Server Basic Sample is a foundational project designed to help developers set up and run a Model Context Protocol (MCP) server application.

how to use Mcp Server Basic Sample?

To use the Mcp Server Basic Sample, follow these steps:

  1. Install the necessary packages using pnpm install.
  2. Build the application with pnpm build.
  3. Start the MCP Inspector with pnpm start and inspect using pnpm inspect.

key features of Mcp Server Basic Sample?

  • Easy setup for MCP server applications.
  • Integration with Claude for Desktop for enhanced functionality.
  • Detailed configuration options for server commands and arguments.

use cases of Mcp Server Basic Sample?

  1. Setting up a basic MCP server for development and testing.
  2. Integrating with Claude for Desktop to manage server commands.
  3. Learning how to implement and configure MCP servers using TypeScript.

FAQ from Mcp Server Basic Sample?

  • What is the purpose of this project?

The project serves as a basic template for developers to create and manage MCP servers.

  • Is there any documentation available?

Yes! Comprehensive resources and examples are provided in the project documentation.

  • Can I use this project for production?

This sample is primarily for development and learning purposes; further customization may be needed for production use.

Content

Mcp Server Basic Sample

Prepare mcp server app

1. Install packages

pnpm install

2. Build

pnpm build

Mcp Inspector

Inspector - Model Context Protocol

pnpm start
pnpm inspect

Claude for Desktop

Download Claude for Desktop

Download - Claude

Set Configure Claude for Desktop

Open the config file in VSCode.

code ~/Library/Application\ Support/Claude/claude_desktop_config.json

/Users/[user]/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "RandomNumber": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/PARENT/FOLDER/build/index.js"]
    }
  }
}

If you use mise.

$ mise which node
/Users/[user]/.local/share/mise/installs/node/22.14.0/bin/node

/Users/[user]/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "RandomNumber": {
      "command": "/Users/[user]/.local/share/mise/installs/node/22.14.0/bin/node",
      "args": ["/ABSOLUTE/PATH/TO/PARENT/FOLDER/build/index.js"]
    }
  }
}

reference: https://github.com/modelcontextprotocol/servers/issues/64#issuecomment-2503152420

Resources

No tools information available.

This is a basic MCP Server-Client Impl using SSE

mcp server-client
View Details

-

mcp model-context-protocol
View Details

Buttplug.io Model Context Protocol (MCP) Server

mcp buttplug
View Details

MCP web search using perplexity without any API KEYS

mcp puppeteer
View Details

free MCP server hosting using vercel

mcp mantle-network
View Details

MCPHubs is a website that showcases projects related to Anthropic's Model Context Protocol (MCP)

mcp mcp-server
View Details