mcpField
M
Mcp Server Sample

Mcp Server Sample

Local
github.com/takitaki7474Developer Tools0Updated 79w ago

About Mcp Server Sample

Mcp Server Sample is a small Python project demonstrating an MCP server setup. Its example includes a tool, a greeting resource, and a translation prompt, and can be run with the MCP Inspector.

Key features

  1. 01Python virtual environment setup
  2. 02Example MCP tool
  3. 03Greeting resource
  4. 04Translation prompt
  5. 05MCP Inspector launch command

Use cases

  1. 01Try a minimal MCP server setup
  2. 02Inspect an example tool, resource, and prompt

MCP support

The sample demonstrates an MCP server with a tool, a greeting resource, and a translation prompt.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

settings

create a python virtual environment.

uv venv
source .venv/bin/activate
uv add "mcp[cli]"

result

start mcp inspector.

mcp dev ./server.py

add tool alt text

greeting resource alt text

translation prompt alt text

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.