Jentic MCP Plugin Implementation
Project description
Jentic MCP Plugin
Why Use Jentic MCP?
Jentic MCP empowers developers to discover and integrate external APIs and workflows rapidly—without the need to write or maintain any API-specific code. By leveraging the MCP protocol and Jentic’s agentic runtime, developers can:
- Search for APIs and workflows by capability, not by vendor or implementation.
- Instantly generate integration code samples that are agnostic to specific API details.
- Avoid boilerplate and reduce maintenance by relying on standardized, declarative integration.
- Focus on building features, while Jentic MCP handles the complexity of API interaction.
API Tools
The Jentic MCP Plugin provides the following tools:
search_apis: Search for APIs in the Jentic directory that match specific functionality needsload_execution_info: Retrieve detailed specifications for APIs and operations from the Jentic directory. This will include auth information you may need to provide in yourmcpServers.jentic.envconfiguration.execute: Execute a specific API or workflow operation.
Getting Started
The recommended method is to run the server directly from the GitHub repository using uvx.
You will need to install uv first using:
brew install uv or pip install uv
Agent API Key
Create an agent at https://app.jentic.com/sign-in and copy its API key.
export JENTIC_AGENT_API_KEY=<your-agent-api-key>
Set the key in your MCP client configuration as shown below.
The location of the configuration file depends on the client you are using and your OS. Some common examples:
- Windsurf:
~/.codeium/windsurf/mcp_config.json - Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json - Claude Code:
~/.claude.json - Cursor:
~/cursor/.mcp.json
For other clients, check your client's documentation for how to add MCP servers.
{
"mcpServers": {
"jentic": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/jentic/jentic-sdks.git@main#subdirectory=mcp",
"mcp"
],
"env": {
"JENTIC_AGENT_API_KEY": "<your-agent-api-key>"
}
}
}
}
Note: After saving the configuration file, you may need to restart the client application (Windsurf, Claude Desktop) for the changes to take effect.
MCP Tool Use
Once the MCP server is running, you can easily use the MCP tools in your LLM agent to discover and execute APIs and workflows.
search_apis: Search for APIs in the Jentic directory that match specific functionality needsload_execution_info: Retrieve detailed specifications for APIs and operations from the Jentic directory. This will include auth information you may need to provide in yourmcpServers.jentic.envconfiguration.execute: Execute a specific API or workflow operation.
Environment Variables
When you are using an API that requires authentication, the load_execution_info tool will describe the required environment variables. You environment variables via the command line in Windsurf, although in some clients like Claude Desktop, you'll need to add them to your MCP config:
{
"mcpServers": {
"jentic": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/jentic/jentic-sdks.git@main#subdirectory=mcp",
"mcp"
],
"env": {
"DISCORD_BOTTOKEN=": "YOUR BOT TOKEN"
}
}
}
}
Alternative (Using Local Path for Development):
Use this if you are actively developing the MCP plugin locally. Replace /path/to/your/project/mcp with the absolute path to your project directory.
{
"mcpServers": {
"jentic": {
"command": "uvx",
"args": [
"--from",
"/path/to/your/project/mcp",
"mcp"
]
}
}
}
Optional: Add a JENTIC_API_URL environment variable to your mcp_config.json file to point to a specific Jentic API (works with both methods):
{
"mcpServers": {
"jentic": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/jentic/jentic-sdks.git@main#subdirectory=mcp",
"mcp"
],
"env": {
"JENTIC_API_URL": "https://your-jentic-api.url/"
}
}
}
}
Once configured, restart Windsurf, and the Jentic MCP tools will be available.
You can tail the logs generated by the locally running MCP server by running:
tail /path/to/mcp/jentic_ark2_mcp.log
Installation
Installing via Smithery
To install Jentic Plugin for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @jentic/jentic-sdks --client claude
Manual Installation
Ensure you have pdm installed (pipx install pdm).
To install the package and its dependencies for development:
# From the project root directory (e.g., /Users/kc/c/sdk/mcp)
pdm install -G dev
Running the MCP Server
The Jentic MCP plugin is designed to be run using uvx, which handles environment setup and execution.
Default Mode (Stdio)
Run the MCP plugin directly using uvx, specifying the project directory as the source using --from and the mcp script:
From Local Path (Development):
# Use --from with the project directory and specify the 'mcp' script
uvx --from /path/to/your/project/mcp mcp
# Or, if running from within the project directory:
uvx --from . mcp
From Remote Repository (Recommended for general use):
uvx --from \
git+https://github.com/jentic/jentic-sdks.git@main#subdirectory=mcp \
mcp
This automatically uses the default serve --transport stdio command defined in the mcp script's callback.
HTTP Modes
The MCP server supports two HTTP transport modes:
- Standard HTTP: Traditional request-response HTTP mode
- Streamable HTTP: HTTP mode with streaming support, compatible with MCP Inspector
Standard HTTP Mode
To run the server in standard HTTP mode (e.g., for testing with claude-cli):
From Local Path (Development):
# Default HTTP (port 8010)
uvx --from /path/to/your/project/mcp mcp serve --transport http
# With custom port
uvx --from /path/to/your/project/mcp mcp serve --transport http --port 8080
# With custom host
uvx --from /path/to/your/project/mcp mcp serve --transport http --host 0.0.0.0 --port 8080
From Remote Repository (Recommended):
uvx --from \
git+https://github.com/jentic/jentic-sdks.git@main#subdirectory=mcp \
mcp serve --transport http --port 8080
Streamable HTTP Mode
To run the server in streamable HTTP mode (compatible with MCP Inspector):
From Local Path (Development):
# Default streamable HTTP (port 8010)
uvx --from /path/to/your/project/mcp mcp serve --transport streamable-http
# With custom port
uvx --from /path/to/your/project/mcp mcp serve --transport streamable-http --port 8080
# With custom host
uvx --from /path/to/your/project/mcp mcp serve --transport streamable-http --host 0.0.0.0 --port 8080
From Remote Repository (Recommended):
uvx --from \
git+https://github.com/jentic/jentic-sdks.git@main#subdirectory=mcp \
mcp serve --transport streamable-http --port 8080
Running from a Remote Git Repository
You can also run the MCP server directly from a Git repository URL without cloning it locally using uvx --from:
# Example from a specific branch and subdirectory
uvx --from \
git+https://github.com/jentic/jentic-sdks.git@main#subdirectory=mcp
# Explanation:
# - git+https://... .git : The repository URL
# - @main : The branch, tag, or commit hash
# - #subdirectory=mcp : The folder within the repo containing the pyproject.toml
This command fetches the specified version, installs its dependencies in a temporary environment, and runs the default command (which is serve --transport stdio).
You can add other arguments like --log-level DEBUG or --mock after the URL fragment:
uvx --from \
git+https://github.com/jentic/jentic-sdks.git@main#subdirectory=mcp \
--log-level DEBUG --mock
To run in HTTP mode from a remote source:
uvx --from \
git+https://github.com/jentic/jentic-sdks.git@main#subdirectory=mcp \
serve --transport http --port 8080
To run in streamable HTTP mode from a remote source:
uvx --from \
git+https://github.com/jentic/jentic-sdks.git@main#subdirectory=mcp \
serve --transport streamable-http --port 8080
Other Options
Logging
# Set logging level (applies to default stdio or explicit serve)
uvx --from /path/to/your/project/mcp mcp --log-level DEBUG
uvx --from /path/to/your/project/mcp mcp serve --transport http --log-level DEBUG
uvx --from /path/to/your/project/mcp mcp serve --transport streamable-http --log-level DEBUG
# Log to file (applies to default stdio or explicit serve)
uvx --from /path/to/your/project/mcp mcp --log-file jentic_mcp.log
uvx --from /path/to/your/project/mcp mcp serve --transport http --log-file jentic_mcp.log
uvx --from /path/to/your/project/mcp mcp serve --transport streamable-http --log-file jentic_mcp.log
Mock Mode
Enable mock mode for development without connecting to the actual Jentic API Knowledge Hub:
# Mock mode with default stdio
uvx --from /path/to/your/project/mcp mcp --mock
# Mock mode with explicit HTTP
uvx --from /path/to/your/project/mcp mcp serve --transport http --mock
# Mock mode with streamable HTTP
uvx --from /path/to/your/project/mcp mcp serve --transport streamable-http --mock
Environment Variables
Provide environment variables using a .env file:
# Env file with default stdio
uvx --from /path/to/your/project/mcp mcp --env-file .env
# Env file with explicit HTTP
uvx --from /path/to/your/project/mcp mcp serve --transport http --env-file .env
# Env file with streamable HTTP
uvx --from /path/to/your/project/mcp mcp serve --transport streamable-http --env-file .env
Using with Claude
The MCP plugin can be used with Claude or other LLMs that support the MCP specification:
Run from Remote Repository (Recommended):
# Run the server in HTTP mode first
uvx --from \
git+https://github.com/jentic/jentic-sdks.git@main#subdirectory=mcp \
mcp serve --transport http --port 8000
# Then connect claude-cli
claude-cli --mcp http://localhost:8000
Run from Local Path (Development):
# Run the server in HTTP mode first
uvx --from /path/to/your/project/mcp mcp serve --transport http --port 8000
# Then connect claude-cli
claude-cli --mcp http://localhost:8000
Development
See CLAUDE.md for detailed development instructions.
Package Structure
src/mcp/: Main MCP packagemock/: Mock data providers for developmenttools.py: Tool definitionshandlers.py: Request handlersmain.py: CLI entry pointsadapters/: Adapter implementationscore/: Core functionality
tests/: Test suite
Testing
# Ensure dev dependencies are installed: pdm install -G dev
pdm run test
Linting & Formatting
Uses ruff, black, isort, mypy via pdm scripts.
# Run all linters/formatters
pdm run lint
# Run only ruff
pdm run linter
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 iflow_mcp_jentic_jentic_mcp-0.7.1.tar.gz.
File metadata
- Download URL: iflow_mcp_jentic_jentic_mcp-0.7.1.tar.gz
- Upload date:
- Size: 74.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b4f069ca1db83c8f6d05918461de5d536cad9bad1c14ae308b22d9d50e92ea9
|
|
| MD5 |
4230f32bc62b8ed050e3628ffd9596a7
|
|
| BLAKE2b-256 |
35f07c74ad7ec5819a9b2cc6ad1ec493f4d9866cda449dcca2f97a8ce07f798e
|
File details
Details for the file iflow_mcp_jentic_jentic_mcp-0.7.1-py3-none-any.whl.
File metadata
- Download URL: iflow_mcp_jentic_jentic_mcp-0.7.1-py3-none-any.whl
- Upload date:
- Size: 52.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ff80644805fbd13e144fac915e607492bc974db7d4e53c89bfcd50136839d11
|
|
| MD5 |
88e4899ed3d3106202b16cc7e653dc7c
|
|
| BLAKE2b-256 |
e861873b00dc460eaa027487c5ec0314e9844f2ef726e6353b9bbd2a1e8f03f4
|