SuperAPI AI Directory

mcp

Schedule HTTP jobs (cron, one-off or on-demand) with retries and run history.

Open website

About this tool

Purpose

smplkit MCP Server is a hosted Model Context Protocol (MCP) server for AI agents, acting as a gateway that lets AI agents (such as Claude Code, Claude Desktop, Cursor, etc.) operate the entire smplkit platform on behalf of the user without leaving the chat interface.

Main capabilities

One server covers the entire platform:

  • Flags: feature toggles, with per-environment values and targeting.
  • Config: key-value, typed configuration, with per-environment overrides.
  • Logging: change runtime log levels per environment.
  • Audit: search audit logs and configure SIEM forwarders.
  • Jobs: scheduled HTTP tasks (cron, one-time, or on-demand), with captured responses.

Once connected, you can tell the agent things like "turn on the new checkout feature for enterprise users in production," "set the staging database host," "raise the production SQL log level to DEBUG," "stream audit events to Datadog," or "POST my endpoint every day at 7 a.m." The agent performs the change, verifies it took effect, and answers follow-up questions directly from live state.

All tools share intent-named verbs——list_*、get_*、create_*、set_*、delete_*——and hide JSON:API envelopes, per-environment nesting, and full-replacement PUT, implementing them through partial intent calls.

Some key behaviors:

  • set_flag / set_config_value / set_log_level is read-modify-write. You express a partial change in one environment, and the tool preserves the rest.
  • list_environments tells you the valid environment targets (production, staging, etc.) for each set_* tool and task.
  • Prove before trusting.run_job triggers a task and returns the captured response;test_forwarder does a dry run against the SIEM target before saving.
  • create_job infers the type: cron schedule → recurring, run_at datetime → one-time, neither → manual. You don't need to set the type.
  • The bundled SKILL.md teaches the agent the entire interface.

How to use

1. Add the server and sign in

The server is located at https://mcp.smplkit.com/api/mcp. Point your MCP client at that URL——on first connection, the client opens a browser for one-time sign-in (continue with Google or Microsoft, standard OAuth). After that it reconnects on its own and refreshes access; no need to generate, copy, or rotate keys.

Claude Code (CLI):

claude mcp add --transport http smplkit https://mcp.smplkit.com/api/mcp

Or in .mcp.json :

{
  "mcpServers": {
    "smplkit": {
      "type": "http",
      "url": "https://mcp.smplkit.com/api/mcp"
    }
  }
}

Cursor(~/.cursor/mcp.json or project .cursor/mcp.json):

{
  "mcpServers": {
    "smplkit": {
      "url": "https://mcp.smplkit.com/api/mcp"
    }
  }
}

Claude Desktop(claude_desktop_config.json)——Desktop bridges the remote server via mcp-remote , opens a browser for one-time sign-in, and caches the connection:

{
  "mcpServers": {
    "smplkit": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.smplkit.com/api/mcp"]
    }
  }
}

For non-interactive use——CI, scripts, headless clients, or writing code with the smplkit SDK——skip the browser and authenticate using an API key as a bearer token. Register at https://smplkit.com (Google or Microsoft SSO, instant email verification), create an API key in the console, and send it as Authorization: Bearer YOUR_SMPLKIT_API_KEY (a custom X-Smplkit-Api-Key header is also accepted). The SDK reads the same key from SMPLKIT_API_KEY . For example, add a headers block to the configuration above:

{
  "mcpServers": {
    "smplkit": {
      "url": "https://mcp.smplkit.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_SMPLKIT_API_KEY"
      }
    }
  }
}

2. Ask the agent

  • "Create a boolean flag new-checkout, off by default, then turn it on only for enterprise users in production."
  • "List my environments, then set staging's database.host to db-staging.internal."
  • "Raise the production sqlalchemy.engine logger to DEBUG while I debug, then reset it."
  • "Test https://http-intake.logs.datadoghq.com/... whether to accept samples, then create a Datadog forwarder for our audit events."
  • "Every day at 7 AM (New York time) POST https://api.example.com/cache/warm,然后立即运行以证明其有效。”

Use Cases

Suitable for scenarios where you need to directly manage various smplkit platform features in chat through an AI agent, including feature flags, configuration, logging, audit, and scheduled HTTP tasks. Especially suitable for development, operations, and DevOps workflows, allowing the agent to execute changes and verify results.

Limitations

Public Internet Constraints

smplkit calls task targets and forwarder targets from the cloud, so these URLs must be accessible from the public internet—localhost/private addresses will not trigger. To target a local server, point to its deployment URL or expose it using a tunnel (cloudflared tunnel --url http://localhost:PORT or ngrok http PORT) and set a secret authentication header.

Running the Server Locally

# 安装依赖
pip install -r requirements.txt

# 运行
python -m smplkit_mcp

Configuration (Environment Variables)

The base host for each product can be configured independently, mirroring the SDK's base_domain pattern:

  • JOBS_BASE_DOMAIN / FLAGS_BASE_DOMAIN / CONFIG_BASE_DOMAIN / LOGGING_BASE_DOMAIN / AUDIT_BASE_DOMAIN / APP_BASE_DOMAIN—the host for each product API (default <product>.smplkit.com;APP_* supports list_environments)。
  • *_SCHEME——https(default) or http。
  • *_BASE_URL—full base URL override (e.g. http://localhost:8002); takes precedence over the above two. Used for local platforms and testing.

Acceptance Tests

tests/test_acceptance.py configures a temporary verified account and drives the entire tool interface end-to-end against the real product APIs—creating/setting/getting/deleting flags, setting and reading configuration values, setting and listing log levels, querying events, creating/testing/deleting forwarders, listing environments, and the eight Jobs tools—then cleans up. These tests require smplkit internal admin credentials, so unless an admin key is available (ADMIN_API_KEY environment variable or ~/.smplkit in [admin] configuration file), they are automatically skipped—external contributors can ignore them; the unit test suite does not require credentials. Run them explicitly:

pytest tests/test_acceptance.py

Architecture

  • A stateless Python service built on FastMCP: it holds no database and no platform credentials.
  • Authentication is per-request—whether the caller logs in via OAuth or sends an API key, credentials are verified per request and used to access each product API, and are never cached or logged.
  • One lightweight JSON:API HTTP client per product (flags, config, logging, audit, environments), each pointing to its configurable base host.
  • The MCP endpoint is served under /api/mcp using a stateless, JSON response transport (no long-lived SSE), so it runs correctly behind proxies and load balancers with short idle timeouts.