Skip to main content

MCP Standalone

A standalone implementation of the MCP client without external dependencies. This package provides a command-line interface for interacting with MCP servers, with no dependency on the external mcp package.

Features

  • Connect to any MCP server using the SSE protocol
  • Ask questions to MCP servers with automatic tool detection
  • Manage server configurations with an easy-to-use CLI
  • Support for servers with predefined questions
  • Automatic question matching for servers that require specific questions

Installation

You can install the package directly from the source:

cd /path/to/mcp-standalone
pip install -e .

Or build and install the package:

cd /path/to/mcp-standalone
pip install build
python -m build
pip install dist/mcp_standalone-0.1.0-py3-none-any.whl

Usage

Ask a question to an MCP server

# Ask a question to the default server
mcp-standalone ask "What is the weather today?"

# Ask a question to a specific server
mcp-standalone ask "What is the weather today?" --server trilogy-mcp

# Ask a question to a custom URL
mcp-standalone ask "What is the weather today?" --url https://mcp-server.example.com/sse

# List available predefined questions for a server
mcp-standalone ask --list-questions --server trilogy-mcp

Manage server configurations

# List all configured servers
mcp-standalone servers list

# Add a new server
mcp-standalone servers add my-server https://mcp-server.example.com/sse

# Remove a server
mcp-standalone servers remove my-server

# Set the default server
mcp-standalone servers set-default trilogy-mcp

# Export server configurations
mcp-standalone servers export --file servers.json

# Import server configurations
mcp-standalone servers import servers.json

Configuration

The package stores server configurations in ~/.config/mcp_standalone/config.json. This file is created automatically with default servers when you first run the tool.

Requirements

  • Python 3.8 or higher
  • httpx
  • httpx-sse
  • anyio
  • pydantic
  • pydantic-settings

Metadata

Release files for mcp-standalone 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-standalone 0.1.0
File Size Uploaded
mcp_standalone-0.1.0.tar.gz 8.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-standalone 0.1.0
File Interpreter ABI Platform
mcp_standalone-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.7 kB

Release files / mcp_standalone-0.1.0.tar.gz

Download URL mcp_standalone-0.1.0.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0b48624dd592afeb23b73b3a1b40280e07515787307d09bc81b781e8798ed566
BLAKE2b-256 checksum
How to use checksums
7591944d31ab3af00960ee7c3aa4c7e18f3e2123e45bd32235a245975e8fc842
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / mcp_standalone-0.1.0-py3-none-any.whl

Download URL mcp_standalone-0.1.0-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8018d87855f9142e453a88258fd1c570f279fd87fcae7d42e6109fb6bfc6764f
BLAKE2b-256 checksum
How to use checksums
75ed2281a870b9d9af7e11edbe48e042cd1fd7c25b12a85a00cbfc4572313fd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page