fingertip-mcp
v0.73.3
Published
The official MCP Server for the Fingertip API
Downloads
189
Readme
Fingertip TypeScript MCP Server
It is generated with Stainless.
Installation
Direct invocation
You can run the MCP Server directly via npx:
export FINGERTIP_API_KEY="My API Key"
npx -y fingertip-mcp@latestVia MCP Client
There is a partial list of existing clients at modelcontextprotocol.io. If you already have a client, consult their documentation to install the MCP server.
For clients with a configuration JSON, it might look something like this:
{
"mcpServers": {
"fingertip_api": {
"command": "npx",
"args": ["-y", "fingertip-mcp", "--client=claude", "--tools=dynamic"],
"env": {
"FINGERTIP_API_KEY": "My API Key"
}
}
}
}Exposing endpoints to your MCP Client
There are two ways to expose endpoints as tools in the MCP server:
- Exposing one tool per endpoint, and filtering as necessary
- Exposing a set of tools to dynamically discover and invoke endpoints from the API
Filtering endpoints and tools
You can run the package on the command line to discover and filter the set of tools that are exposed by the MCP Server. This can be helpful for large APIs where including all endpoints at once is too much for your AI's context window.
You can filter by multiple aspects:
--toolincludes a specific tool by name--resourceincludes all tools under a specific resource, and can have wildcards, e.g.my.resource*--operationincludes just read (get/list) or just write operations
Dynamic tools
If you specify --tools=dynamic to the MCP server, instead of exposing one tool per endpoint in the API, it will
expose the following tools:
list_api_endpoints- Discovers available endpoints, with optional filtering by search queryget_api_endpoint_schema- Gets detailed schema information for a specific endpointinvoke_api_endpoint- Executes any endpoint with the appropriate parameters
This allows you to have the full set of API endpoints available to your MCP Client, while not requiring that all of their schemas be loaded into context at once. Instead, the LLM will automatically use these tools together to search for, look up, and invoke endpoints dynamically. However, due to the indirect nature of the schemas, it can struggle to provide the correct properties a bit more than when tools are imported explicitly. Therefore, you can opt-in to explicit tools, the dynamic tools, or both.
See more information with --help.
All of these command-line options can be repeated, combined together, and have corresponding exclusion versions (e.g. --no-tool).
Use --list to see the list of available tools, or see below.
Specifying the MCP Client
Different clients have varying abilities to handle arbitrary tools and schemas.
You can specify the client you are using with the --client argument, and the MCP server will automatically
serve tools and schemas that are more compatible with that client.
--client=<type>: Set all capabilities based on a known MCP client- Valid values:
openai-agents,claude,claude-code,cursor - Example:
--client=cursor
- Valid values:
Additionally, if you have a client not on the above list, or the client has gotten better over time, you can manually enable or disable certain capabilities:
--capability=<name>: Specify individual client capabilities- Available capabilities:
top-level-unions: Enable support for top-level unions in tool schemasvalid-json: Enable JSON string parsing for argumentsrefs: Enable support for $ref pointers in schemasunions: Enable support for union types (anyOf) in schemasformats: Enable support for format validations in schemas (e.g. date-time, email)tool-name-length=N: Set maximum tool name length to N characters
- Example:
--capability=top-level-unions --capability=tool-name-length=40 - Example:
--capability=top-level-unions,tool-name-length=40
- Available capabilities:
Examples
- Filter for read operations on cards:
--resource=cards --operation=read- Exclude specific tools while including others:
--resource=cards --no-tool=create_cards- Configure for Cursor client with custom max tool name length:
--client=cursor --capability=tool-name-length=40- Complex filtering with multiple criteria:
--resource=cards,accounts --operation=read --tag=kyc --no-tool=create_cardsRunning remotely
Launching the client with --transport=http launches the server as a remote server using Streamable HTTP transport. The --port setting can choose the port it will run on, and the --socket setting allows it to run on a Unix socket.
Authorization can be provided via the Authorization header using the Bearer scheme.
Additionally, authorization can be provided via the following headers:
| Header | Equivalent client option | Security scheme |
| --------------------- | ------------------------ | --------------- |
| x-fingertip-api-key | apiKey | bearerAuth |
A configuration JSON for this server might look like this, assuming the server is hosted at http://localhost:3000:
{
"mcpServers": {
"fingertip_api": {
"url": "http://localhost:3000",
"headers": {
"Authorization": "Bearer <auth value>"
}
}
}
}The command-line arguments for filtering tools and specifying clients can also be used as query parameters in the URL. For example, to exclude specific tools while including others, use the URL:
http://localhost:3000?resource=cards&resource=accounts&no_tool=create_cardsOr, to configure for the Cursor client, with a custom max tool name length, use the URL:
http://localhost:3000?client=cursor&capability=tool-name-length%3D40Importing the tools and server individually
// Import the server, generated endpoints, or the init function
import { server, endpoints, init } from "fingertip-mcp/server";
// import a specific tool
import createSites from "fingertip-mcp/tools/sites/create-sites";
// initialize the server and all endpoints
init({ server, endpoints });
// manually start server
const transport = new StdioServerTransport();
await server.connect(transport);
// or initialize your own server with specific tools
const myServer = new McpServer(...);
// define your own endpoint
const myCustomEndpoint = {
tool: {
name: 'my_custom_tool',
description: 'My custom tool',
inputSchema: zodToJsonSchema(z.object({ a_property: z.string() })),
},
handler: async (client: client, args: any) => {
return { myResponse: 'Hello world!' };
})
};
// initialize the server with your custom endpoints
init({ server: myServer, endpoints: [createSites, myCustomEndpoint] });Available Tools
The following tools are available in this MCP server.
Resource sites:
create_sites(write): Creates a new site with associated pages, themes, and blocksretrieve_sites(read): Retrieves a specific site and its related data by site IDupdate_sites(write): Updates an existing site with provided partial datalist_sites(read): Retrieves a paginated list of sites with optional filteringretrieve_analytics_sites(read): Retrieves comprehensive analytics data including views, clicks, traffic sources, geographic data, and store metrics for the specified site
Resource sites.pages:
create_sites_pages(write): Creates a new page within a site with the provided content.list_sites_pages(read): Retrieves a paginated list of pages for a specific site.
Resource pages:
retrieve_pages(read): Retrieves a specific page by ID.update_pages(write): Updates an existing page with the provided data.
Resource pages.blocks:
create_pages_blocks(write): Creates a new block within the specified page. Returns the created block or validation errors.list_pages_blocks(read): Retrieves all blocks associated with the specified page ID
Resource pages.theme:
retrieve_pages_theme(read): Retrieves the theme associated with a specific pagepatch_pages_theme(write): Applies JSON Patch operations to the theme content fieldupsert_pages_theme(write): Creates or updates the theme for a specific page
Resource blocks:
retrieve_blocks(read): Retrieves a specific block by its ID. Returns 404 if the block is not found.update_blocks(write): Updates an existing block with the provided data. Allows partial updates. Returns 404 if the block is not found.delete_blocks(write): Permanently deletes a block. Returns a success status or 404 if the block is not found.
Resource blog_posts:
retrieve_blog_posts(read): Retrieves a specific published blog post by IDlist_blog_posts(read): Retrieves a paginated list of published blog posts for a specific site
Resource bookings:
list_bookings(read): Retrieves a paginated list of bookings for a site with optional status filteringaccept_bookings(write): Accepts a pending booking request and confirms the bookingcancel_bookings(write): Cancels an existing booking as a hostcomplete_bookings(write): Marks a booking as completed or no-showdecline_bookings(write): Declines a pending booking requestlist_requests_bookings(read): Retrieves a paginated list of pending booking requests for a sitereschedule_bookings(write): Changes the start and end time of an existing booking
Resource event_types:
retrieve_event_types(read): Retrieves a specific published event type by IDlist_event_types(read): Retrieves a paginated list of published event types for a specific site
Resource form_responses:
list_form_responses(read): Retrieves form responses for a specific form template and site.
Resource form_templates:
retrieve_form_templates(read): Retrieves a specific form template with its fields and themelist_form_templates(read): Retrieves a paginated list of form templates for a specific site
Resource invoices:
create_invoices(write): Creates a new store invoiceupdate_invoices(write): Updates a store invoicelist_invoices(read): Retrieves a paginated list of invoices for sites the user has access todelete_invoices(write): Deletes a draft store invoicemark_paid_invoices(write): Marks a store invoice as paidsend_invoices(write): Sends a draft store invoicevoid_invoices(write): Voids a store invoice
Resource orders:
list_orders(read): Retrieves orders with basic information
Resource site_contacts:
create_site_contacts(write): Creates a new contact associated with a site including marketing preferenceslist_site_contacts(read): Retrieves site contacts with basic contact information
Resource site_invitations:
retrieve_site_invitations(read): Retrieves details of a specific site invitationlist_site_invitations(read): Retrieves a paginated list of invitations for a specific site
Resource site_memberships:
retrieve_site_memberships(read): Retrieves details of a specific site membershiplist_site_memberships(read): Retrieves a paginated list of members for a specific site
Resource invoice_items:
create_invoice_items(write): Creates a new invoice itemretrieve_invoice_items(read): Retrieves a invoice item by IDupdate_invoice_items(write): Updates a invoice itemlist_invoice_items(read): Retrieves a paginated list of invoice items
Resource messages:
create_messages(write): Sends a message as the site owner to a site contactlist_messages(read): Retrieves messages for a site contact or all site owner messages
Resource quotes:
create_quotes(write): Creates a new store quoteretrieve_quotes(read): Retrieves a single store quote by IDupdate_quotes(write): Updates a store quotelist_quotes(read): Retrieves a paginated list of quotes for sites the user has access todelete_quotes(write): Deletes a store quotesend_quotes(write): Sends a draft store quote
Resource help_docs:
search_articles_help_docs(read): Search through help documentation articles using full-text search. Returns articles ordered by relevance.
