Logo: Add Connector

Add Connector

OrganisatiounBeléift
GetStream
add-connector

How to add a connector - a custom MCP server for one app (no code), or a new built-in in the router's catalog (a manifest YAML with sources, a consent test and a PR). Read before you add a provider, change a built-in manifest, or bump its revision.

Iwwersiicht

EditeurGetStream
RepositoryAgents
Skill-Nummadd-connector
Stären
8.2K
Forks
709
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    GetStream huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Add Connector an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/GetStream/Agents/tree/main/.claude/skills/add-connector
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/GetStream/Agents.git /tmp/Agents
mkdir -p .claude/skills
cp -r /tmp/Agents/.claude/skills/add-connector .claude/skills/add-connector
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Add Connector an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Add Connector automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Add Connector net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Add a connector

First decide which kind you need. Connecting an existing connector to an agent is in the connectors skill.

You wantKindCode change
One app uses its own MCP servercustom connectornone: the API or the dashboard
Every app can pick the provider from the catalogbuilt-ina manifest in acceleration/internal/connectors/providers/

A custom connector

Dashboard: Library › Connectors › New connector. API: POST /v1/agents/connectors (CustomConnectorRequest: id, name, endpoint or http, schemes, optional scopes, client, category, description, sync_hash, check_changes).

  • The id starts with custom_, for example custom_crm. Built-ins never use that prefix.
  • endpoint is the MCP server's https URL.
  • http is an HTTP API in place of an MCP server: base_url and tools, each tool with name, description, method, path, parameters and read_only (only on a GET or a HEAD). Send endpoint or http, not both. base_url must be a public https URL, and it is never shown again. oauth2_code is not available for one.
  • sync_hash is the fingerprint of the file the CLI synced the connector from. The connector returns it until a create without one, from the dashboard or the API, clears it.
  • check_changes: true refuses the create (409 unsynced_changes) when the newest revision has no sync_hash and says something else: a sync would write over a dashboard or API edit.
  • schemes is how a connection signs in: oauth2_code, bearer, api_key, or none.
  • A public server that needs no credential takes schemes: ["none"]. Create the connection, then connect it with PUT /v1/agents/connections/{id}/credentials and the body {"expected_revision": <its revision>}, with no values. The same empty write moves it to the connector's latest revision later, as a token saved again moves a bearer connection.
  • Then add a connection to it and bind it to an agent, as for any connector.
  • Delete answers 409 while an agent config binds it. The message names the bindings. Force deletes it anyway and leaves those bindings broken.

A built-in

A built-in is one YAML file, acceleration/internal/connectors/providers/<id>.yaml. The router embeds it and stores it in connector_definitions at every start. Read acceleration/internal/connectors/providers/AGENTS.md (rules) and the «Manifest» section of acceleration/internal/connectors/core/AGENTS.md (fields) before you write one.

Start from the closest existing file:

Your providerCopy
A hosted MCP server with OAuth and dynamic client registrationlinear.yaml
OAuth with an app the operator or customer registers, plus a token optiongithub.yaml
Receives messages (a channel)slack_bot.yaml, whatsapp.yaml
A bearer token onlylinq.yaml

Steps

  1. Write <id>.yaml. The id is the file name and never starts with custom_. Set revision: 1. Fill name, category, description, endpoints, schemes, client (registration: operator, customer, managed, dcr, cimd), scopes, refresh, rate_limit and sources. Add a channel block only if the provider sends messages. Set sensitive: true if the connector reads private data, and outbound: false on a source whose tools only read (providers/AGENTS.md), or list the tools that only read in its read_only_tools when others write (google_drive.yaml); left out, a tool counts as writing. A tool's needs_scopes is the scope the consent asks for; when the provider documents a broader scope that gives all it gives, list it under scopes.covered_by (google_drive.yaml), so a grant holding the broader one is not told to consent again. A source's headers are fixed request headers sent on every request, such as GitHub's X-MCP-Toolsets (github.yaml); a header the credential, the connection or MCP writes is refused.

  2. Cite every vendor fact. Put a comment beside each value with the vendor page and the date you opened it. A value with no source gets # unverified, and the PR lists it.

  3. Stream's own OAuth client (only if client.registration lists operator): set client.env: <ENV>. The deployment reads <ENV>_MCP_CLIENT_ID and <ENV>_MCP_CLIENT_SECRET. Add both to acceleration/README.md, «Configuration».

  4. A consent test. Every OAuth built-in has one in providers/consent_test.go. It runs oauth2_code against internal/connectors/fakeprovider, with the manifest's own endpoints pointed at the fake. New fake behaviour belongs in fakeprovider, not in the test.

  5. Run the checks from acceleration/:

    bash
    go test ./internal/store ./internal/connectors/...     # parses every manifest, runs consents
    go test ./internal/connectors/core -run TestCoreNamesNoProvider

    The store tests need Postgres (see providers/AGENTS.md, «Tests»). A test DB of your own: the go-testing and parallel-agents skills.

  6. Try it live. Start the router locally (dashboard skill), connect an account, bind one tool and call it in Playground. Then follow the connectors skill.

  7. Open the PR on the main branch. Its body lists the sources and every # unverified value.

Changing a built-in

  • Any change to what the manifest says needs a new revision. An edit without one stops the router from starting. A comment, spacing or key order is not a change.
  • Existing connections keep their pinned revision. They move to the new one at their next consent (OAuth) or token save. So a new field, such as api_base, reaches old connections only then. The API shows them outdated only when the new revision changes what they read (core.Manifest.ReadsAsConnection): a revision that changes only sensitive, outbound or read_only_tools leaves them current, since the config check reads those from the latest. channel.reply.flags reaches every connection at once: a reply reads it from the latest revision, and a revision that changes only it leaves them current.
  • To retire a broken revision, the new revision lists it in broken_revisions with a reason. Connections on it are asked to sign in again.
  • Never delete a file to remove a connector. Its revisions stay for the connections that pinned them.
  • Never revert by editing. A revert is a new revision with the old content.

Before you ask

QuestionAnswer
Which scheme?What the provider supports for an agent acting for someone: OAuth with PKCE (oauth2_code) when it has it, otherwise a token (bearer, api_key). Machine-to-machine OAuth is oauth2_client_credentials (salesforce.yaml)
Who registers the OAuth client?The provider's docs decide. An MCP server with dynamic registration: dcr. Otherwise operator (Stream's app), customer (the app's own), or both
Do I need Go code?No, unless the provider needs a hook. Then talk to the router owners first
Where does the redirect URI come from?<ROUTER_PUBLIC_URL>/v1/agents/connectors/oauth/callback. Register it at the provider

Heefeg gestallte Froen

Wat mécht de KI-Skill Add Connector?

How to add a connector - a custom MCP server for one app (no code), or a new built-in in the router's catalog (a manifest YAML with sources, a consent test and a PR). Read before you add a provider, change a built-in manifest, or bump its revision.

Firwat Add Connector op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Add Connector besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Add Connector an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/GetStream/Agents/tree/main/.claude/skills/add-connector an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Add Connector benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Add Connector benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Add Connector domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Add Connector gratis?

Jo. GetStream huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇