Basis Theory MCP by usefulapi
Read token metadata, applications, audit logs, proxies and usage in the PCI vault.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (2)
- LOWin basis_theory_list_log_entity_types
- LOWin basis_theory_list_tenant_members
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"basis-theory": {
"url": "https://basis-theory.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://basis-theory.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (17)
🟢basis_theory_list_tokens(type, container, fingerprint, size, start)
List vault tokens as METADATA — id, type, container, fingerprint, metadata and timestamps. Does not return the underlying card number or PII. Basis Theory: GET /v2/tokens.
Eingabe-Schema
{
"type": "object",
"properties": {
"type": {
"description": "Only tokens of this type, e.g. card, bank, token.",
"type": "string"
},
"container": {
"description": "Only tokens in this container path, e.g. /pci/high/.",
"type": "string"
},
"fingerprint": {
"description": "Only tokens sharing this fingerprint — how you find duplicates of the same card.",
"type": "string"
},
"size": {
"description": "Page size, 1-100.",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"start": {
"description": "Cursor from the previous page's pagination.next. Omit for the first page.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_search_tokens(query, size, start)
Search tokens with Basis Theory's query syntax over metadata, e.g. metadata.customer_id:"cus_1". Returns metadata only. Read-only despite being a POST — the query goes in the body. Basis Theory: POST /v2/tokens/search.
Eingabe-Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Query string, e.g. type:card AND metadata.customer_id:\"cus_1\"."
},
"size": {
"description": "Page size, 1-100.",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"start": {
"description": "Cursor from the previous page's pagination.next. Omit for the first page.",
"type": "string"
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_get_token(token_id)
Fetch a single token by id. Returns metadata, container, fingerprint and timestamps. WARNING: if the configured API key carries a reveal permission, the response also contains the token's plaintext data — issue this server a read-only management key instead. Basis Theory: GET /tokens/{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"token_id": {
"type": "string",
"description": "The token's id."
}
},
"required": [
"token_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_list_applications(type, page, size)
List the applications (API-key holders) in the tenant, with their types and permissions. Basis Theory: GET /applications.
Eingabe-Schema
{
"type": "object",
"properties": {
"type": {
"description": "Only applications of this type, e.g. private, public, management, expiring.",
"type": "string"
},
"page": {
"description": "1-based page number (offset pagination).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"size": {
"description": "Page size, 1-100.",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_get_application(application_id)
Fetch a single application with its type and permission list. Basis Theory: GET /applications/{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"application_id": {
"type": "string",
"description": "The application's id."
}
},
"required": [
"application_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_whoami
Return the application the configured BT-API-KEY belongs to — the fastest way to check which permissions this server actually has. Basis Theory: GET /applications/key.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_list_logs(entity_type, entity_id, start_date, end_date, page, ...)
List audit-log entries — who did what to which entity and when. The tool for answering 'who touched this token?'. Basis Theory: GET /logs.
Eingabe-Schema
{
"type": "object",
"properties": {
"entity_type": {
"description": "Only entries for this entity type, e.g. token, application, proxy.",
"type": "string"
},
"entity_id": {
"description": "Only entries for this entity id.",
"type": "string"
},
"start_date": {
"description": "ISO-8601 lower bound.",
"type": "string"
},
"end_date": {
"description": "ISO-8601 upper bound.",
"type": "string"
},
"page": {
"description": "1-based page number (offset pagination).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"size": {
"description": "Page size, 1-100.",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_list_log_entity_types
List the entity types the audit log records — the valid values for entity_type. Basis Theory: GET /logs/entity-types.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_list_proxies(name, page, size)
List the proxies that forward requests to third parties, detokenizing in flight. Basis Theory: GET /proxies.
Eingabe-Schema
{
"type": "object",
"properties": {
"name": {
"description": "Filter by proxy name.",
"type": "string"
},
"page": {
"description": "1-based page number (offset pagination).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"size": {
"description": "Page size, 1-100.",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_get_proxy(proxy_id)
Fetch a single proxy with its destination URL and transform configuration. Basis Theory: GET /proxies/{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"proxy_id": {
"type": "string",
"description": "The proxy's id."
}
},
"required": [
"proxy_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_list_reactors(name, page, size)
List reactors — the serverless functions that run against detokenized data inside the vault. Basis Theory: GET /reactors.
Eingabe-Schema
{
"type": "object",
"properties": {
"name": {
"description": "Filter by reactor name.",
"type": "string"
},
"page": {
"description": "1-based page number (offset pagination).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"size": {
"description": "Page size, 1-100.",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_get_reactor(reactor_id)
Fetch a single reactor with its configuration. Basis Theory: GET /reactors/{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"reactor_id": {
"type": "string",
"description": "The reactor's id."
}
},
"required": [
"reactor_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_list_permissions(application_type)
List the permissions that can be granted to an application, optionally for one application type. Basis Theory: GET /permissions.
Eingabe-Schema
{
"type": "object",
"properties": {
"application_type": {
"description": "Only permissions valid for this application type.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_list_roles
List the roles available for tenant members. Basis Theory: GET /roles.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_get_tenant
Fetch the current tenant — name, id and settings. Basis Theory: GET /tenants/self.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_get_tenant_usage
Fetch the tenant's usage report — token counts by type and container, and monthly API call volume. Basis Theory: GET /tenants/self/reports/usage.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢basis_theory_list_tenant_members(page, size)
List the people with access to the tenant, and their roles. Basis Theory: GET /tenants/self/members.
Eingabe-Schema
{
"type": "object",
"properties": {
"page": {
"description": "1-based page number (offset pagination).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"size": {
"description": "Page size, 1-100.",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis