API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Integration

Connect AI assistants (MCP)

Reading time · 8 minUpdated · 27 November 2026

Codemeta OS runs a hosted server for the Model Context Protocol (MCP). Through it, an AI assistant can read tickets, contacts, tasks, time records and the knowledge base and perform selected actions — always on behalf of the signed-in person and never with more rights than they have in the interface.

Address

https://mcp.codemeta.de/mcp

The transport is Streamable HTTP, and sign-in uses OAuth 2.1 with PKCE. The client registers itself on first connection (Dynamic Client Registration, RFC 7591) — no API key or manually created client ID is needed.

Connect

The flow is the same in every client: enter the address, choose OAuth as the sign-in method, connect. The Codemeta sign-in opens, followed by the consent page (see below). You never need an API key, a client ID or extra headers.

Claude (claude.ai, desktop, mobile)

  1. Open Customize → Connectors and choose + → Add custom connector. On Team and Enterprise plans, an owner adds the connector once for everyone under Organization settings → Connectors; each person then connects with their own Codemeta account.
  2. Give it a name, for example “Codemeta OS”, and enter https://mcp.codemeta.de/mcp as the URL. As sign-in, pick one of the options with sign-in, not “No sign in”.
  3. Choose Connect. The Codemeta sign-in and the consent page follow. In a chat, turn the connector on via + → Connectors.

A connector added in claude.ai is also available with the same account in Claude Desktop, the mobile app and Claude Code.

ChatGPT (chatgpt.com)

According to OpenAI, ChatGPT offers custom MCP servers on the Business, Enterprise and Edu plans; administrators decide who may add them. You no longer need the former developer mode for this.

  1. Open Plugins, choose + and then Add custom MCP server.
  2. Enter a name and description, enter https://mcp.codemeta.de/mcp under Connection and choose OAuth as authentication.
  3. Acknowledge the notice and choose Create as a plugin. Then install the plugin; connecting brings up the Codemeta sign-in and the consent page.

Codex and Claude Code (app, command line)

These clients receive the sign-in callback on your own machine (http://127.0.0.1:…). This is supported; the callback never leaves the machine.

# Codex CLI
codex mcp add codemeta --url https://mcp.codemeta.de/mcp
codex mcp login codemeta

# Claude Code
claude mcp add --transport http codemeta https://mcp.codemeta.de/mcp
# then in the session: /mcp → codemeta → Authenticate

If you prefer to set up Codex through the configuration file ~/.codex/config.toml, add the server like this and then sign in with codex mcp login codemeta:

[mcp_servers.codemeta]
url = "https://mcp.codemeta.de/mcp"

In the Codex app: Settings → MCPs → Add, enter https://mcp.codemeta.de/mcp as the URL, save and choose Authenticate. Bearer tokens or extra headers are not needed.

Microsoft Copilot Studio

In Copilot Studio, Codemeta OS becomes a tool of your agent. The agent then decides on its own when to ask Codemeta.

  1. Open your agent, choose the + next to Tools on the right and then MCP server. (In the classic view: Tools → Add a tool → New tool → Model Context Protocol.)
  2. Fill in the Add MCP server dialog:
    • Server name: for example “Codemeta OS”.
    • Server description: the agent uses it to decide when to call the tool. Be specific, for example: “Tickets, customers, contacts, tasks, time records, quotes and knowledge base of the IT service provider in Codemeta OS”.
    • Server URL: https://mcp.codemeta.de/mcp
    • Authentication: OAuth 2.0, type Dynamic discovery.
  3. Choose Add, create a new connection and sign in to Codemeta. After giving consent, choose Add to agent.
  4. Open the new tool and set Credentials to use to End user credentials.

Copilot Studio: the “Add MCP server” dialog with the fields server name, server description, server URL and authentication

The “Add MCP server” dialog in Copilot Studio (German interface). For Codemeta OS, choose “OAuth 2.0” under authentication; the “Dynamic discovery” option then appears.

Microsoft 365 Copilot and Teams

Microsoft 365 Copilot itself has no field for an MCP address. The way in is an agent built in Copilot Studio:

  1. Set up the agent as described above, with End user credentials.
  2. Publish it and turn on the Microsoft 365 Copilot and Teams channel under Channels. Depending on your company’s policy, your Microsoft 365 administrators may still need to approve the agent.
  3. On first use, each person signs in to Codemeta once and gives consent.

GitHub Copilot (Visual Studio Code)

In GitHub Copilot’s agent mode, VS Code uses the server directly. Add it with the MCP: Add Server command or enter it in mcp.json:

{
  "servers": {
    "codemeta": {
      "type": "http",
      "url": "https://mcp.codemeta.de/mcp"
    }
  }
}

On first start, VS Code opens the browser for the Codemeta sign-in and consent; like the command-line clients, VS Code receives the callback on your own machine.

After sign-in, Codemeta OS shows a consent page. There you choose

  • the tenant the assistant may work in — the token is permanently bound to this tenant, and an X-Tenant-Id header sent along is ignored;
  • the permission level:
Scope Meaning
codemeta:read Read only — everything you are allowed to see in the interface.
codemeta:write Read plus the daily work: create and edit tickets, book and correct time, clock in, timers, tasks, internal comments, status changes up to closing, organisations and contacts, appointments, and assets, projects, opportunities, knowledge articles and similar records — and creating and changing quotations in weclapp, if you are enabled for it in the weclapp assistant (see below).
codemeta:full Your interface permissions 1:1 — still without deleting; you always confirm replies to customers in Codemeta OS.

The levels offered are those the client registered with. If it sends no scope during registration (typical for desktop and command-line clients), all three are available. If the consent page only offers “Read”, the client was registered with exactly that scope — remove the connector in the client and reconnect it, or enter the desired level there as a scope, together with offline_access.

Rights are recalculated against your current permissions on every call: if a permission is withdrawn from you, it takes effect immediately, without the connector having to be reconnected.

Tools

Area Tools
Tickets search_tickets, get_ticket, create_ticket, update_ticket, assign_ticket, link_ticket_to_party, add_internal_comment, reply_to_ticket
Contacts (CRM) search_parties, get_party, create_party, update_party
Tasks search_tasks, create_task, update_task
Appointments create_appointment, update_appointment
Time clock_in, clock_out, start_timer, stop_timer, convert_timer, list_my_running_timers, log_time, update_time_record, search_time_records
Email list_my_inbox, search_emails, get_email, convert_email_to_ticket, attach_email_to_ticket
Quotations search_quotations, list_my_open_quotations
Analytics list_analytics, get_analytics, query_analytics
weclapp (live) weclapp_search_articles, weclapp_search_quotations, weclapp_get_quotation, weclapp_search_invoices, weclapp_get_invoice, weclapp_search_parties; writes: weclapp_create_quotation, weclapp_update_quotation (two-phase — preview validated by weclapp, applied only after your confirmation; never status, sending or deletion) — only for persons the tenant enabled for the weclapp assistant, the write tools only with the “Read + write” release; all work live through the technical weclapp user
Knowledge base search_kb, get_kb_article
Generic list_schemas, describe_schema, search_entities, get_entity, count_entities, audit_history, create_record, update_record
Status transition_status
Tool register register_tool, report_tool

Which tools an assistant actually sees depends on the chosen scope and the tenant’s licensed modules.

Analytics (list_analytics, get_analytics, query_analytics) return the same figures as the Codemeta OS analytics pages and check the same permissions and data scopes. With codemeta:read and codemeta:write only view permissions apply: finance, data quality, the situation overview and team-wide utilization require a connection with codemeta:full.

Limits

Limits apply per person to read and write tool calls across all connected assistants; both steps of a write (preview and apply) count as writes. Beyond that, the tool answers with the error rate-limited and says in retry_after_seconds when to try again.

The exact values: 120 read and 30 write tool calls per person and minute; for the weclapp assistant 60 read and 10 write weclapp calls per person and minute and 120 per tenant; switching off takes effect within 15 seconds. All API limits are listed under Limits.

If an administrator has turned off AI connections for the tenant (AI usage page, “AI connections (Claude, ChatGPT via MCP)”), every tool answers mcp-disabled-for-tenant (403) and new connections are refused at consent; existing connections stay saved and work again once the switch is back on, without reconnecting. The switch takes effect after a short delay. The switch for AI in Codemeta itself does not block MCP.

The weclapp assistant additionally has its own limits on weclapp calls per person and per tenant (both steps of a write count).

weclapp assistant: technical user

If the assistant is to read in weclapp as well (and later create quotations), it accesses weclapp with one API token per tenant — that of a technical weclapp user you create yourself. Which role this user has is your decision in weclapp; Codemeta checks the role and acts accordingly.

  1. Create the user in weclapp — e.g. “Codemeta AI assistant”, with its own e-mail address, not a person’s account.
  2. Assign a role without delete and send rights. Read on articles, quotations and invoices; create and edit quotations only if the assistant is supposed to write later. No deleting, no printing/sending, no posting.
  3. Generate an API token (weclapp: user → API token).
  4. Enter it in Codemeta: Settings → Integrations → weclapp → section “AI assistant” → store token. Codemeta checks which user the token belongs to and whether that user is allowed to delete.

Afterwards you set what the assistant may do (areas such as quotations, invoices or creating and editing quotations) and who may use it (release per person) under Settings → AI → AI connections (MCP).

The API base must be https://<tenant>.weclapp.com/webapp/api/v2; a v1 address is rejected. Codemeta never deletes in weclapp — the only DELETE request is the permission check against a non-existent id with dryRun.

Note for existing connectors: the assistant creates quotations in weclapp with the codemeta:write or codemeta:full level — existing connections with these levels work without reconnecting once you are enabled. With codemeta:read the assistant only reads; the write tools then answer weclapp-connection-read-only. In that case remove the connector in the client and connect it again with codemeta:write.

Revoke access

The connection can be disconnected at any time in the assistant. Issued access tokens expire after a short time; without a valid refresh token, a new sign-in with consent is required afterwards.

Search