Future AGI MCP Server
Project description
Future AGI MCP Server
A powerful server implementation that integrates with the Future AGI SDK through the Model Context Protocol (MCP). This server provides tools which can be used to interact with Future AGI features.
Features
Run automatic evaluations — Evaluate batch and single inputs on various evaluation metrics present in Future AGI both on local datapoints and large datasets
Manage datasets — Upload, evaluate, download datasets and find insights with natural language
Installation
- Clone the repository:
git clone https://github.com/future-agi/futureagi-mcp-server.git
cd futureagi-mcp-server
- Install uv
brew install uv
- Install dependencies:
uv sync # this will create a virtual environment if not present and installs necessary dependencies
Configuring the Server to MCP Clients
Create an account at http://app.futureagi.com/ and obtain your API key and Secret key from the dashboard. These credentials are required for the Future AGI MCP Server to authenticate with our API. Export them by running the following command in your terminal
export FI_API_KEY="your_api_key"
export FI_SECRET_KEY="your_secret_key"
To run the server locally and debugging issues:
python main.py
To Configure with MCP Clients like VS Code and Claude using local forked repository. Use this for testing your code changes using client
{
"mcpServers": {
"FutureAGI-MCP": {
"command": "uv",
"args": [
"--directory",
"/path/to/futureagi-mcp-server",
"run",
"main.py"
],
"env": {
"FI_SECRET_KEY": "your_api_key",
"FI_API_KEY": "your_secret_key",
"FI_BASE_URL": "https://api.futureagi.com",
"PYTHONPATH": "/path/to/futureagi-mcp-server"
}
}
}
}
To Configure using uvx and published package.
{
"mcpServers": {
"FutureAGI-MCP": {
"command": "uvx",
"args": [
"futureagi-mcp-server
],
"env": {
"FI_SECRET_KEY": "your_api_key",
"FI_API_KEY": "your_secret_key",
}
}
}
}
Project Structure
futureagi-mcp-server/
├── src/ # Source code directory
│ └──futureagi_mcp_server
│ ├── server.py # Main server implementation
│ ├── utils.py # Utility functions
│ ├── constants.py # Constants and configuration
│ ├── logger.py # Logging configuration
│ └── tools/ # Tools directory
│ ├── evals.py # Evaluation tools
│ ├── datasets.py # Dataset tools
│ ├── protect.py # Protection tools
│ └── routes.py # Route management
├── tests/ # Test directory
│ ├── test_dataset.py # Dataset tests
│ ├── test_protect.py # Protection tests
│ └── test_evals.py # Evaluation tests
├── .pre-commit-conifg.yaml # pre-commit hooks that run before every commit
├── pyproject.toml # Project configuration and dependencies
├── uv.lock # Dependency lock file
├── .gitignore # Git ignore rules
└── README.md # This file
Contribution are Welcome!
Guidelines for contributing
- Clone the repository either using https or ssh
- Create the venv using
uv pip install ".[dev]" - This will create and install all the required dependencies in a virtual environment
- Ensure to activate the environment
- Make necessary changes and run git commit. It will run the pre-commit hooks. Solve any of the failed checks.
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
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
File details
Details for the file futureagi_mcp_server-0.1.0.tar.gz.
File metadata
- Download URL: futureagi_mcp_server-0.1.0.tar.gz
- Upload date:
- Size: 2.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce31fdea7bb680c43050af1c3371e19bc3dc821e089922ad1d9879774e19b656
|
|
| MD5 |
e0ec531c0f5135e0130e83386fbb73d9
|
|
| BLAKE2b-256 |
0a2888a82362924b230bb4aae24eb47d200bd1bac07955984187375f96a6f1bb
|
File details
Details for the file futureagi_mcp_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: futureagi_mcp_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22f03eef4a732b7d276791d3074ef5bb9660c96c91485c472dbe5345fd04834b
|
|
| MD5 |
5a7c9fbfabf09ffe215b3f0d0350b3d5
|
|
| BLAKE2b-256 |
0db80c153b31f7593ccd23992ea5c8f58628ba6e7f35fe957d344330732aabad
|