Crow builtin MCP server
Project description
crow-mcp
Configuration
import os
from fastmcp import Client
CROW_MCP_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
print("=" * 60)
print(f"CROW_MCP_DIR: {CROW_MCP_DIR}")
print("=" * 60)
config = {
"mcpServers": {
"crow_mcp": {
"transport": "stdio",
"command": "uv",
"args": ["--project", CROW_MCP_DIR, "run", "crow-mcp"],
"cwd": CROW_MCP_DIR,
}
}
}
async def test():
client = Client(config)
print("Connecting to MCP server...")
async with client:
print("✅ Connected\n")
# Test 1: Basic command
print("=" * 60)
print("TEST 1: Basic command")
print("=" * 60)
result = await client.call_tool(
"terminal", {"command": "echo 'Hello terminal!'"}
)
print(result.content[0].text)
# Test 2: Directory persistence
print("\n" + "=" * 60)
print("TEST 2: CD persistence")
print("=" * 60)
result1 = await client.call_tool("terminal", {"command": "pwd"})
print(f"Before: {result1.content[0].text}")
result2 = await client.call_tool("terminal", {"command": "cd /tmp"})
print(f"CD: {result2.content[0].text}")
result3 = await client.call_tool("terminal", {"command": "pwd"})
print(f"After: {result3.content[0].text}")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
crow_mcp-0.1.5.tar.gz
(77.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
crow_mcp-0.1.5-py3-none-any.whl
(27.4 kB
view details)
File details
Details for the file crow_mcp-0.1.5.tar.gz.
File metadata
- Download URL: crow_mcp-0.1.5.tar.gz
- Upload date:
- Size: 77.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
366da74acd80a0bd58b3ae7b5791a88c0727e41b144aba1a1462185eaf3b0c0a
|
|
| MD5 |
1f4ba11b4bb3d5d08777b098536efce7
|
|
| BLAKE2b-256 |
df284ab363ae556f5b1761913a6a6f5de395214ec094e27d4c3816e675d49b46
|
File details
Details for the file crow_mcp-0.1.5-py3-none-any.whl.
File metadata
- Download URL: crow_mcp-0.1.5-py3-none-any.whl
- Upload date:
- Size: 27.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
646be0fc9cfa7db8bb483d0e17ae843118d7970ebd55b3793424ea02c9877c68
|
|
| MD5 |
a8c6707407a0e5728f21871cdd5f39c5
|
|
| BLAKE2b-256 |
8b830f041b8935b59fb67ec2a32491a76407b3e25099df5c6c3efd8760729ded
|