Skip to main content
Glama

MCP Toolkit

PyPI version Python Versions License: MIT CI codecov Downloads

A comprehensive collection of production-ready Model Context Protocol (MCP) servers for common tools and services.

Features

  • PostgreSQL Server - Query, insert, update, and manage PostgreSQL databases

  • SQLite Server - Lightweight SQLite database operations with full SQL support

  • Redis Server - Key-value operations, pub/sub, and data structure manipulation

  • File System Server - Secure file operations with sandboxing and access controls

  • GitHub API Server - Repository management, issues, PRs, and more via GitHub API

Related MCP server: Cloudflare Remote PostgreSQL MCP Server

Installation

# Install from PyPI
pip install mcp-toolkit

# Or install specific servers only
pip install mcp-toolkit[postgres]
pip install mcp-toolkit[sqlite]
pip install mcp-toolkit[redis]
pip install mcp-toolkit[filesystem]
pip install mcp-toolkit[github]

# Install all servers
pip install mcp-toolkit[all]

Quick Start

PostgreSQL

from mcp_toolkit.servers.postgres import PostgreSQLServer

server = PostgreSQLServer(
    connection_string="postgresql://user:pass@localhost:5432/mydb"
)
server.run()

SQLite

from mcp_toolkit.servers.sqlite import SQLiteServer

server = SQLiteServer(database_path="./data.db")
server.run()

Redis

from mcp_toolkit.servers.redis import RedisServer

server = RedisServer(redis_url="redis://localhost:6379/0")
server.run()

File System

from mcp_toolkit.servers.filesystem import FilesystemServer

server = FilesystemServer(
    root_dir="/path/to/workspace",
    read_only=False
)
server.run()

GitHub API

from mcp_toolkit.servers.github import GitHubServer

server = GitHubServer(
    github_token="ghp_..."
)
server.run()

CLI Usage

# Run PostgreSQL server
mcp-toolkit postgres --connection-string "postgresql://localhost/mydb"

# Run SQLite server
mcp-toolkit sqlite --database ./data.db

# Run Redis server
mcp-toolkit redis --url redis://localhost:6379

# Run Filesystem server
mcp-toolkit filesystem --root ./workspace

# Run GitHub server
mcp-toolkit github --token $GITHUB_TOKEN

Configuration

Environment Variables

# PostgreSQL
POSTGRES_CONNECTION_STRING=postgresql://user:pass@localhost/db

# Redis
REDIS_URL=redis://localhost:6379/0

# GitHub
GITHUB_TOKEN=ghp_xxxxxxxxxxxx

Claude Desktop Configuration

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "postgres": {
      "command": "mcp-toolkit",
      "args": ["postgres", "--connection-string", "postgresql://localhost/mydb"]
    },
    "redis": {
      "command": "mcp-toolkit",
      "args": ["redis", "--url", "redis://localhost:6379"]
    }
  }
}

API Reference

PostgreSQL Server

Tool

Description

query

Execute a SELECT query

execute

Execute an INSERT/UPDATE/DELETE statement

list_tables

List all tables in the database

describe_table

Get table schema information

explain_query

Get query execution plan

SQLite Server

Tool

Description

query

Execute a SELECT query

execute

Execute an INSERT/UPDATE/DELETE statement

list_tables

List all tables

describe_table

Get table schema

vacuum

Optimize database storage

Redis Server

Tool

Description

get

Get a key's value

set

Set a key-value pair

delete

Delete one or more keys

keys

List keys matching a pattern

hget

Get a hash field value

hset

Set a hash field

lrange

Get a list range

publish

Publish a message to a channel

Filesystem Server

Tool

Description

read_file

Read file contents

write_file

Write content to a file

list_directory

List directory contents

create_directory

Create a new directory

delete_file

Delete a file

move_file

Move/rename a file

search_files

Search for files by pattern

GitHub Server

Tool

Description

list_repos

List user repositories

get_repo

Get repository details

list_issues

List repository issues

create_issue

Create a new issue

list_prs

List pull requests

get_file

Get file contents from repo

search_code

Search code across repos

Development

# Clone the repository
git clone https://github.com/exycfs/mcp-toolkit.git
cd mcp-toolkit

# Install development dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Run linters
ruff check .
mypy src/

# Format code
ruff format .

Contributing

Contributions are welcome! Please read our Contributing Guidelines before submitting a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Support

A
license - permissive license
Not graded
quality - not tested
F
maintenance

Maintenance

0Releases (12mo)

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

  • mcpOAuth

    GibsonAI MCP server: manage your databases with natural language

  • MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.

  • Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.

  • Hosted MCP server for AI-driven data ops. Create apps, manage schemas, and CRUD structured data.

View all MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    A monorepo containing three Model Context Protocol (MCP) servers that enable natural language interaction with databases, GitHub repositories, and time/timezone services.
    2
    10
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A production-ready MCP server that enables users to interact with PostgreSQL databases via natural language on Cloudflare Workers. It features GitHub OAuth for role-based access control, allowing for secure schema discovery, data querying, and write operations.
    MIT
  • F
    license
    Not graded
    quality
    F
    maintenance
    A production-ready MCP server that transforms natural language into safe, executable SQL queries with multi-database support and intelligent schema analysis.
    1
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides MCP servers for GitHub API operations and SQL database queries, enabling users to interact with GitHub repositories and databases through natural language.
    3
    MIT

View all related MCP servers

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/fastprosecurity/mcp-toolkit'

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