When to use MCP
Use MCP if you want Typewise to interact with:- Internal systems (for example, an ERP, warehouse system, or billing backend)
- A third-party tool that isn’t supported yet
- A custom workflow that requires a company-specific action
Connect an MCP server in Typewise
Connecting an MCP server makes its tools available so you can configure them as:- Lookups (read-only tools): used to fetch up-to-date information during a conversation
- Actions (state-changing tools): used to perform approved tasks in your systems
- Go to Integrations and add an MCP integration.
- Enter the MCP server URL and configure authentication (if needed).
- Save and verify the server is reachable.
- Configure tools:
Once you connect your MCP server, you can’t change its URL. If the URL changes, add a new MCP integration.
How Typewise uses MCP tools (Lookups vs Actions)
Typewise only supports MCP tools (not resources or prompts). Each tool should be designed as either:- Lookup: reads data without side effects (recommended
readOnlyHint: true) - Action: changes state (recommended
readOnlyHint: false)
Capabilities
- Tool discovery and schema inspection
- Tool execution with structured inputs/outputs
- Streaming responses where supported
Requirements
- Transport: Streamable HTTP (no SSE or stdio)
- Authentication: None, Token (header-based), or OAuth
- Capabilities: Tools only (resources and prompts not supported)
- Hosting: Your MCP server must be reachable over HTTPS from Typewise
Limits
- Request/response size limits per environment
- Execution timeouts; retries on transient errors
Security
- Transport: HTTPS required
- Authentication: None, Token (header-based), or OAuth
- Approvals: actions can require human approval when configured in Typewise
Observability
- Logs include tool name, inputs (redacted), outputs summary, and status
- Errors surface in timeline and monitoring
Updating your MCP safely
- Adding new tools is fully supported. You can immediately add them to Knowledge or Action Hub once they become available.
- Deleting a tool: remove all tool references in the Typewise platform before deleting it from your server. Otherwise, agents that reference it can hand off unexpectedly.
- Modifying an existing tool signature or return shape can confuse agents. Avoid changes whenever possible.

Developer guide
Audience: Backend engineers building or adapting MCP servers This section is for implementing, testing, and maintaining MCP tools.
Building an MCP server
For a step-by-step tutorial, see Build an MCP server — Model Context Protocol.Testing your server
You can test your server locally with the MCP Inspector:Best practices
- Use concise, descriptive tool names.
- Provide clear descriptions for inputs and outputs.
- Use ToolAnnotations (especially
readOnlyHintandtitle) so tools are categorized correctly. - Return appropriate HTTP error codes (for example, 401 for expired tokens) so agents can react correctly.
Example tool schema
Example: Notion search tool schema
Example: Notion search tool schema
Resources
- Official MCP Site (also GitHub)