Skip to main content

Simple MCP Server Collection, Packaged

Project description

mcp_servers

A collection of MCP servers

Disclaimer

This project is created for personal use and does not guarantee stable behavior. It is made public solely as a reference for other programmers. The project is highly unstable, premature, and may produce undesired outcomes, so use it at your own risk.

Development Setup

git clone git@github.com:assagman/mcp_servers.git

cd mcp_servers

uv venv --python 3.12 && source .venv/bin/activate

uv sync --extra dev

Examples

All LLM models are used from openrouter.ai, so on OPENROUTER_API_KEY env var is mandatory for this project to interact with a LLM model.

cp ./examples/.env.example ./examples/.env then set your OPENROUTER_API_KEY in ./examples/.env. In these examples google/gemini-2.5-flash-preview is picked as the LLM model since it's the best fit model for this workflow I experienced. You need to buy credits on https://openrouter.ai/settings/credits to experiment. Even some free alternatives can work sometimes, but either they do not produce consistent outputs or there are some problems with the hosting server like rate limits or unavailability. Make sure you select models with tools usage. Generally Google and OpenAI models, even with smaller/cheaper ones, works well.

Example usage: as a package in client code

python examples/run_filesystem_agent.py

without making any changes, this command should be executed successfully as is, and it'll operate on a temporary directory.

Example usage: as a separate, dedicated MCP server

mcpserver start --server filesystem --port 8765 --allowed-dir $(pwd) --detach

Above command should start MCP server for filesystem in the background process. ps aux | rg mcpserver is expected to show this related process.

python examples/run_filesystem_agent_2.py

after some chat with agent, please run below to stop the MCP server:

mcpserver stop --server filesystem

This specific example uses CLI app utility to start/stop MCP seperately from the client code (different from the first example).

Others

brave_search

Create .env file in the top-level project directory, set BRAVE_API_KEY in it. Then excecute:

mcpserver start --server brave_search --port 8766 --detach

This will start the MCP Server. Let's test it with example agent:

python examples/run_brave_search_agent.py

This will allow user to chat with agent, using MCP server for Brave Search. After some chat, you can stop it via:

mcpserver stop --server brave_search

Testing specs

  • macOS - arm64
  • python 3.12

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_servers-0.1.1.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_servers-0.1.1-py3-none-any.whl (45.2 kB view details)

Uploaded Python 3

File details

Details for the file mcp_servers-0.1.1.tar.gz.

File metadata

  • Download URL: mcp_servers-0.1.1.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for mcp_servers-0.1.1.tar.gz
Algorithm Hash digest
SHA256 39a269c68a1725448b26627625aa87c275e299786236f5a5123388fc87cede10
MD5 e2d297419fb1f48af1edaebc7fa522dd
BLAKE2b-256 f273fb27194553c62a948ef49d24ad520fd1c2eacc0d2598707ba2efa9e8d108

See more details on using hashes here.

File details

Details for the file mcp_servers-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mcp_servers-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 45.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for mcp_servers-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eec2139d9629783fc8125ba2ff57d8b10960e2e4a6695735e8f439be849022b2
MD5 c0ff8e8e24ea8ad6fa0299e9e3073280
BLAKE2b-256 c52559564bcc80f65dc84850a7fc6ca55a1724b796352c1bce2e9db0767c866d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page