Twitter Api Safe Relay MCP Server

Safe MCP server for twitter_api_safe_relay

Remote serverstreamable-http

What is the Twitter Api Safe Relay MCP MCP server?

Safe MCP server for twitter_api_safe_relay. The twitter api safe relay mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 7 defined tools rather than through you.

What it actually does

A simple MCP server that forwards HTTP requests to twitter_api_safe_relay.

Adding it to your client

Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.

Its toolset

Everything the assistant can do here goes through one of these:

  • twitter_request_catalog — Searches the latest request catalog by operation name or path and returns executable templates
  • twitter_api_request — Sends a request to the relay using a template
  • endpoint — The path sent to the relay. Absolute URLs are not accepted
  • method — GET (default), POST, PUT, PATCH, or DELETE
  • params — URL query parameters. Object values are converted to JSON strings
  • body — JSON request body
  • headers — Optional HTTP headers

Configuration

You will need 3 environment variables: TWITTER_RELAY_BASE_URL, QUERY_ID, TWITTER_REQUESTS_CATALOG_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Caveats

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the twitter api safe relay mcp mcp server does with a few real requests.

When to reach for it

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Twitter Api Safe Relay MCP's toolset — twitter_request_catalog, twitter_api_request, endpoint and 4 more — is a fair guide to whether it matches your workflow. It is maintained by GitHub Actions; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Twitter Api Safe Relay MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
twitter_request_catalogSearches the latest request catalog by operation name or path and returns executable templates.
twitter_api_requestSends a request to the relay using a template.
endpointThe path sent to the relay. Absolute URLs are not accepted.
methodGET (default), POST, PUT, PATCH, or DELETE.
paramsURL query parameters. Object values are converted to JSON strings.
bodyJSON request body.
headersOptional HTTP headers.

How to install the Twitter Api Safe Relay MCP MCP server

Example MCP client configuration:

```json
{
  "mcpServers": {
    "twitter-api-safe-relay": {
      "command": "npx",
      "args": ["twitter_api_safe_relay_mcp"],
      "env": {
        "TWITTER_RELAY_BASE_URL": "http://localhost:6900"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
TWITTER_RELAY_BASE_URLEndpoint or connection string the server talks to.Yes
QUERY_IDConfiguration value read at startup.Optional
TWITTER_REQUESTS_CATALOG_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Twitter Api Safe Relay MCP to twitter request catalog.
  • Use Twitter Api Safe Relay MCP to twitter api request.
  • Use Twitter Api Safe Relay MCP to endpoint.

Frequently asked questions

It connects Twitter Api Safe Relay MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 7 tools (twitter_request_catalog, twitter_api_request, endpoint, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Twitter Api Safe Relay MCP directly.