MCP.so
Sign In

Simple MCP Server

@marlinspike

Basic information

Category

Other

Last updated

Transports

stdio

Author

marlinspike

About Simple MCP Server

A simple MCP server that can be tested with a client

Simple MCP Server config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Simple MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Simple MCP Server?

It is a lightweight example MCP server that provides weather lookup and note‑keeping tools. It is designed to test MCP clients and demonstrate how an MCP server can be used with an OpenAI agent.

How to use Simple MCP Server?

Clone the repository, install dependencies (preferably with uv), create a .env file with WEATHER_API_KEY, OPENAI_API_KEY, and NOTES_FILE paths. Run uv run mcp dev main.py for the weather tools, uv run mcp dev simplenote.py for the note tools, or uv run aiagent.py to chat with an OpenAI agent that uses the note server.

Key features of Simple MCP Server

  • Provides weather information for any city via OpenWeatherMap.
  • Offers a persistent note‑taking system (add, get all, get last note).
  • Integrates with an OpenAI agent to combine chat with tool calls.
  • Runs as an HTTP server via mcp dev for manual testing.
  • Starts as a subprocess for agent integrations.

Use cases of Simple MCP Server

  • Testing MCP client implementations with real tools.
  • Demonstrating how MCP works with an AI agent (e.g., OpenAI).
  • Simple note management accessible through an MCP interface.
  • Prototyping or learning MCP server development.

Frequently asked questions

1

What tools does Simple MCP Server expose?

For the weather server: `add` and `get_weather`. For the note server: `add_note`, `get_notes`, and `get_last_note`.

2

What dependencies are required?

Python, `uv`, and a `.env` file containing a valid OpenWeatherMap API key and an OpenAI API key. `uv` is strongly recommended but `pip` can be used instead.

3

How are notes persisted?

Notes are saved to a local file specified by the `NOTES_FILE` environment variable (default `/tmp/notes.md`). They persist between server restarts.

4

How do I use the server with an OpenAI agent?

Run `uv run aiagent.py`. The agent will start the note server as a subprocess and let you chat while it calls the available tools to add, retrieve, or list notes.

5

What transport does Simple MCP Server use?

When run with `mcp dev`, it serves over HTTP on `localhost:6274`. For the OpenAI agent integration, the server is spawned as a subprocess and communicates via stdio.

Comments

More Other MCP servers