Skip to main content
ClaudeWave
bvenkata avatar
bvenkata

mcp-api-connect

View on GitHub

Protocol- and auth-agnostic API connector engine: one payload in, any REST/SOAP service out — as a library, HTTP API, or MCP server.

MCP ServersOfficial Registry0 stars0 forksPythonApache-2.0Updated today
ClaudeWave Trust Score
87/100
Trusted
Passed
  • Open-source license (Apache-2.0)
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
  • Documented (README)
Flags
  • !Install pipes a remote script into a shell (curl | sh)
Last scanned: 8/28/2026
Install in Claude Code / Claude Desktop
Method: pip / Python · mcp-api-connect
Claude Code CLI
claude mcp add mcp-api-connect -- python -m mcp-api-connect
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "mcp-api-connect": {
      "command": "python",
      "args": ["-m", "venv"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Install first: pip install mcp-api-connect
Use cases

MCP Servers overview

<!-- mcp-name: io.github.bvenkata/mcp-api-connect -->

# mcp-api-connect&trade;

[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](pyproject.toml)

**One payload in, any API out.** mcp-api-connect is a protocol- and auth-agnostic
connector engine: describe a target service (URL, protocol, auth, request/
response shape) once, then send it a normalized payload and get a normalized
response back — whether the target is a REST/JSON API, a legacy SOAP service,
protected by an API key, Basic auth, a Bearer token, or OAuth2 client
credentials.

It ships as three things built on the same core engine, so however you want
to use it, you can:

- **A Python library** — `pip install mcp-api-connect`, call `MCPAPIConnectEngine`
  directly, no server required.
- **A standalone HTTP API** — `pip install mcp-api-connect[api]`, run
  `mcp-api-connect-api`, POST to `/invoke`.
- **An MCP server** — `pip install mcp-api-connect[mcp]`, run `mcp-api-connect`,
  point any MCP client (Claude, etc.) at it so an agent can call registered
  connectors — or arbitrary services on the fly — as tools.

## Why

Every integration project reinvents the same wheel: a REST client here, a
SOAP client there, one auth flow per service, ad-hoc request/response
mapping scattered across the codebase. mcp-api-connect centralizes that into one
declarative spec (`InvokeSpec`) and one execution engine, so adding a new
target service is config, not code.

## Quick start (library)

```bash
pip install mcp-api-connect
```

```python
import asyncio
from mcp_api_connect import MCPAPIConnectEngine, InvokeSpec, Target, AuthSpec, AuthType, RequestFormat, ResponseFormat

spec = InvokeSpec(
    target=Target(base_url="https://api.example.com"),
    auth=AuthSpec(type=AuthType.API_KEY, config={"api_key": "secret", "header_name": "X-API-Key"}),
    request_format=RequestFormat(method="POST", path="/v1/orders", content_type="json"),
    response_format=ResponseFormat(content_type="json"),
)

async def main():
    async with MCPAPIConnectEngine() as engine:
        result = await engine.invoke(spec, {"customer": "jane"})
        print(result.success, result.data)

asyncio.run(main())
```

## Quick start (HTTP API)

```bash
pip install "mcp-api-connect[api]"
mcp-api-connect-api   # serves on :8000, interactive docs at /docs
```

```bash
curl -X POST http://localhost:8000/invoke -H 'content-type: application/json' -d '{
  "spec": {
    "target": {"base_url": "https://api.example.com"},
    "auth": {"type": "api_key", "config": {"api_key": "secret"}},
    "request_format": {"method": "POST", "path": "/v1/orders"},
    "response_format": {"content_type": "json"}
  },
  "payload": {"customer": "jane"}
}'
```

Register a reusable connector once, then invoke it by name:

```bash
curl -X POST http://localhost:8000/connectors -d '{"name": "orders-api", "spec": {...}}'
curl -X POST http://localhost:8000/connectors/orders-api/invoke -d '{"customer": "jane"}'
```

## Quick start (MCP)

```bash
pip install "mcp-api-connect[mcp]"
```

```json
{
  "mcpServers": {
    "mcp-api-connect": { "command": "/path/to/.venv/bin/mcp-api-connect" }
  }
}
```

Exposes tools: `invoke` (stateless, one-off), `register_connector`,
`list_connectors`, `invoke_connector` (by name), `delete_connector`. An agent
can register a connector for "the Salesforce API" once, then just say "call
it with this payload" from then on.

**➜ Full setup for Claude Desktop / Claude Code / Cursor, persistence,
security notes, and a worked example: [docs/mcp-integration.md](docs/mcp-integration.md).**

## Core concepts

- **`Target`** — base URL, protocol (`rest` | `soap`), timeout, default headers.
- **`AuthSpec`** — `type` (`none`, `api_key`, `basic`, `bearer`,
  `oauth2_client_credentials`) + a `config` dict shaped for that type. OAuth2
  tokens are fetched and cached automatically.
- **`RequestFormat`** / **`ResponseFormat`** — content type (`json`, `xml`,
  `soap`) plus a declarative `field_map` (`{"target.path": "$.source.jsonpath"}`)
  for reshaping payloads without writing code, or a Jinja2 `body_template`
  for full control (required for SOAP envelopes).
- **`InvokeSpec`** — bundles the three above; the unit of "how to reach one
  service." Store it as a named `Connector` or pass it inline per call.

See [`src/mcp_api_connect/core/models.py`](src/mcp_api_connect/core/models.py) for the
full schema, and [docs/auth-reference.md](docs/auth-reference.md) for the
`config` shape each auth `type` expects.

## Documentation

- [docs/mcp-integration.md](docs/mcp-integration.md) — full MCP client setup
  (Claude Desktop, Claude Code, Cursor), persistence, security, tool
  reference, worked example, troubleshooting
- [docs/auth-reference.md](docs/auth-reference.md) — `config` fields for
  every auth type
- [CONTRIBUTING.md](CONTRIBUTING.md) — dev setup, running tests, PR expectations

## Extending

- New auth type: implement `AuthStrategy`, register via
  `engine.register_auth_strategy(...)`.
- New protocol (e.g. GraphQL): implement `ProtocolAdapter`, register via
  `engine.register_adapter(...)`.
- New connector storage backend: implement `ConnectorStore` (ships with
  `InMemoryConnectorStore` and `SqliteConnectorStore`, credentials encrypted
  at rest via Fernet).

## Roadmap

- OAuth2 authorization-code flow, mTLS, AWS SigV4 auth strategies
- WSDL-driven SOAP (optional `zeep`-backed adapter, no hand-written envelope needed)
- GraphQL adapter
- Postgres-backed `ConnectorStore`
- Retry/backoff + rate limiting policies per connector
- SSRF-safe target allow-listing for public deployments

## Development

```bash
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev,api,storage,mcp]"
pytest
```

## License

Apache License 2.0 — see [LICENSE](LICENSE) and [NOTICE](NOTICE).

Contributions are accepted under the same license (inbound = outbound); see
[CONTRIBUTING.md](CONTRIBUTING.md).

## Trademark

**mcp-api-connect&trade;** is a trademark of Balaji Venkatasubramaniyar. The
Apache 2.0 license covers copyright and patents but grants no trademark rights.
You may use the name to refer to this project and to state compatibility, but
not to name a fork, product, or service, or to imply endorsement. See
[TRADEMARKS.md](TRADEMARKS.md) for the full policy.
agentic-aiapi-integrationmcpmcp-servermiddlewaremodel-context-protocoloauth2pythonrest-apisoap

What people ask about mcp-api-connect

What is bvenkata/mcp-api-connect?

+

bvenkata/mcp-api-connect is mcp servers for the Claude AI ecosystem. Protocol- and auth-agnostic API connector engine: one payload in, any REST/SOAP service out — as a library, HTTP API, or MCP server. It has 0 GitHub stars and its last recorded update is dated 2026-08-27.

How do I install mcp-api-connect?

+

You can install mcp-api-connect by cloning the repository (https://github.com/bvenkata/mcp-api-connect) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is bvenkata/mcp-api-connect safe to use?

+

Our security agent has analyzed bvenkata/mcp-api-connect and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.

Who maintains bvenkata/mcp-api-connect?

+

bvenkata/mcp-api-connect is maintained by bvenkata. The last recorded GitHub activity is dated 2026-08-27, with 0 open issues.

Are there alternatives to mcp-api-connect?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy mcp-api-connect to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: bvenkata/mcp-api-connect
[![Featured on ClaudeWave](https://claudewave.com/api/badge/bvenkata-mcp-api-connect)](https://claudewave.com/repo/bvenkata-mcp-api-connect)
<a href="https://claudewave.com/repo/bvenkata-mcp-api-connect"><img src="https://claudewave.com/api/badge/bvenkata-mcp-api-connect" alt="Featured on ClaudeWave: bvenkata/mcp-api-connect" width="320" height="64" /></a>

More MCP Servers

mcp-api-connect alternatives